Methods
check given number is an integer
Parameters:
- Source:
- See:
-
Returns:
-
Type
-
external:Boolean
Example
Number.isInteger(1); // true
Number.isInteger(0.5); // false
This:
Parameters:
- Implements:
- Source:
Returns:
return Math[name].apply(this, thisArg)
-
Type
-
external:Math
Example
(1).xMath('abs'); // 1
(-1).xMath('abs'); // 1
(-0.1).xMath('abs'); // 0.1
This:
Parameters:
Name |
Type |
Attributes |
Default |
Description |
type |
external:String
|
<optional>
|
"json"
|
data format |
- Implements:
- Source:
Returns:
-
Type
-
external:String
Example
(0).xTo(); // '0'
(1.5).xTo(); // '1.5'