Built-In Namespace Number
Method Attributes | Method Name and Description |
---|---|
<static> |
Number.test(o)
Checks if the passed object is a Number.
|
times(fn, ctx)
Calls the passed function 'n' times, where 'n' is this Number.
|
|
to()
Alias of range.
|
Method Detail
<static>
{Boolean}
Number.test(o)
Checks if the passed object is a Number.
Defined in: nativelib-dev.js.
Defined in: nativelib-dev.js.
- Parameters:
- {Object} o
- The object to check.
- Returns:
- {Boolean} true if it is a number, false if not.
times(fn, ctx)
Calls the passed function 'n' times, where 'n' is this Number.
Defined in: nativelib-dev.js.
Defined in: nativelib-dev.js.
- Parameters:
- {Function} fn
- The function to call.
- {Object} ctx
- The execution context for the function.
to()
Alias of range.
Defined in: nativelib-dev.js.
Defined in: nativelib-dev.js.