File tree 1 file changed +0
-27
lines changed
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -6,33 +6,6 @@ The special value "Not a Number". See [`NaN`](https://developer.mozilla.org/en-U
6
6
*/
7
7
external _NaN : bigint = "NaN"
8
8
9
- @val
10
- @scope ("Number" )
11
- /**
12
- Tests if the given value is `_NaN`
13
-
14
- Note that both `_NaN = _NaN` and `_NaN == _NaN` will return `false`. `isNaN` is
15
- therefore necessary to test for `_NaN`. Return `true` if the given value is
16
- `_NaN`, `false` otherwise. See [`isNaN`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) on MDN.
17
- */
18
- external isNaN : bigint => bool = "isNaN"
19
-
20
- /**
21
- Tests if the given value is finite. Return `true` if the given value is a finite
22
- number, `false` otherwise. See [`isFinite`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite) on MDN.
23
-
24
- ## Examples
25
-
26
- ```rescript
27
- /* returns [false] */
28
- Js.Bigint.isFinite(Js.Bigint._NaN)
29
-
30
- /* returns [true] */
31
- Js.Bigint.isFinite(1234.)
32
- ```
33
- */
34
- external isFinite : bigint => bool = "isFinite"
35
-
36
9
@val
37
10
/**
38
11
Parses the given `string` into a `bigint` using JavaScript semantics. Return the
You can’t perform that action at this time.
0 commit comments