You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"documentation": {"kind": "markdown", "value": "\n Converts a given `string` to an `int`. Returns `Some(int)` when the input is a number, `None` otherwise.\n\n ```res example\n Js.log(Belt.Int.fromString(\"1\") === Some(1)) /* true */\n ```\n"}
78
-
}, {
79
-
"label": "Belt.Int.*",
80
-
"kind": 12,
81
-
"tags": [],
82
-
"detail": "(int, int) => int",
83
-
"documentation": {"kind": "markdown", "value": "\n Multiplication of two `int` values. Same as the multiplication from `Pervasives`.\n\n ```res example\n open Belt.Int\n Js.log(2 * 2 === 4) /* true */\n ```\n"}
84
-
}, {
85
-
"label": "Belt.Int./",
86
-
"kind": 12,
87
-
"tags": [],
88
-
"detail": "(int, int) => int",
89
-
"documentation": {"kind": "markdown", "value": "\n Division of two `int` values. Same as the division from `Pervasives`.\n\n ```res example\n open Belt.Int\n Js.log(4 / 2 === 2); /* true */\n ```\n"}
90
-
}, {
91
-
"label": "Belt.Int.toString",
92
-
"kind": 12,
93
-
"tags": [],
94
-
"detail": "int => string",
95
-
"documentation": {"kind": "markdown", "value": "\n Converts a given `int` to a `string`. Uses the JavaScript `String` constructor under the hood.\n\n ```res example\n Js.log(Belt.Int.toString(1) === \"1\") /* true */\n ```\n"}
96
-
}, {
97
-
"label": "Belt.Int.toFloat",
98
-
"kind": 12,
99
-
"tags": [],
100
-
"detail": "int => float",
101
-
"documentation": {"kind": "markdown", "value": "\n Converts a given `int` to a `float`.\n\n ```res example\n Js.log(Belt.Int.toFloat(1) === 1.0) /* true */\n ```\n"}
102
-
}, {
103
-
"label": "Belt.Int.fromFloat",
104
-
"kind": 12,
105
-
"tags": [],
106
-
"detail": "float => int",
107
-
"documentation": {"kind": "markdown", "value": "\n Converts a given `float` to an `int`.\n\n ```res example\n Js.log(Belt.Int.fromFloat(1.0) === 1) /* true */\n ```\n"}
108
-
}, {
109
-
"label": "Belt.Int.-",
110
-
"kind": 12,
111
-
"tags": [],
112
-
"detail": "(int, int) => int",
113
-
"documentation": {"kind": "markdown", "value": "\n Subtraction of two `int` values. Same as the subtraction from `Pervasives`.\n\n ```res example\n open Belt.Int\n Js.log(2 - 1 === 1) /* true */\n ```\n"}
114
-
}, {
115
-
"label": "Belt.Int.+",
116
-
"kind": 12,
117
-
"tags": [],
118
-
"detail": "(int, int) => int",
119
-
"documentation": {"kind": "markdown", "value": "\n Addition of two `int` values. Same as the addition from `Pervasives`.\n\n ```res example\n open Belt.Int\n Js.log(2 + 2 === 4) /* true */\n ```\n"}
0 commit comments