File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 21
21
// https://github.com/dcodeIO/Long.js
22
22
// License Apache 2
23
23
24
- import { newError } from " ./error" ;
24
+ import { newError } from ' ./error' ;
25
25
26
26
/**
27
27
* Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.
28
- * See the from* functions below for more convenient ways of constructing Integers.
28
+ * See exported functions for more convenient ways of operating integers.
29
+ * Use <code>int()</code> function to create new integers, <code>isInt()</code> to check if given object is integer,
30
+ * <code>inSafeRange()</code> to check if it is safe to convert given value to native number,
31
+ * <code>toNumber()</code> and <code>toString()</code> to convert given integer to number or string respectively.
29
32
* @access public
30
33
* @exports Integer
31
34
* @class A Integer class for representing a 64 bit two's-complement integer value.
You can’t perform that action at this time.
0 commit comments