We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f7bd1 commit d1e7329Copy full SHA for d1e7329
src/Util.res
@@ -17,6 +17,21 @@ external inspectOptions: (
17
unit,
18
) => inspectOptions = ""
19
20
+type defaultInspectOptions = {
21
+ mutable showHidden: bool,
22
+ mutable depth: Js.Null.t<int>,
23
+ mutable colors: bool,
24
+ mutable customInspect: bool,
25
+ mutable showProxy: bool,
26
+ mutable maxArrayLength: Js.Null.t<int>,
27
+ mutable breakLength: int,
28
+ mutable compact: bool,
29
+ mutable sorted: bool,
30
+ mutable getters: bool,
31
+};
32
+@val @module("util") @scope("inspect")
33
+external defaultOptions: defaultInspectOptions = "defaultOptions"
34
+
35
module Types = {
36
@val @module("util") @scope("types")
37
external isAnyArrayBuffer: 'a => bool = "isAnyArrayBuffer"
0 commit comments