|
121 | 121 | if
|
122 | 122 | not
|
123 | 123 | (Stdlib.( && )
|
124 |
| - (Js.typeof x = "object") |
| 124 | + (Stdlib.( = ) (Js.typeof x) "object") |
125 | 125 | (Stdlib.( && )
|
126 | 126 | (not (Js.Array.isArray x))
|
127 | 127 | (not (Stdlib.( == ) (Obj.magic x : 'a Js.null) Js.null))))
|
|
185 | 185 | if
|
186 | 186 | not
|
187 | 187 | (Stdlib.( && )
|
188 |
| - (Js.typeof x = "object") |
| 188 | + (Stdlib.( = ) (Js.typeof x) "object") |
189 | 189 | (Stdlib.( && )
|
190 | 190 | (not (Js.Array.isArray x))
|
191 | 191 | (not (Stdlib.( == ) (Obj.magic x : 'a Js.null) Js.null))))
|
|
246 | 246 | if
|
247 | 247 | not
|
248 | 248 | (Stdlib.( && )
|
249 |
| - (Js.typeof x = "object") |
| 249 | + (Stdlib.( = ) (Js.typeof x) "object") |
250 | 250 | (Stdlib.( && )
|
251 | 251 | (not (Js.Array.isArray x))
|
252 | 252 | (not (Stdlib.( == ) (Obj.magic x : 'a Js.null) Js.null))))
|
|
293 | 293 | let len = Js.Array.length array in
|
294 | 294 | if Stdlib.( > ) len 0 then
|
295 | 295 | let tag = Js.Array.unsafe_get array 0 in
|
296 |
| - if Js.typeof tag = "string" then |
| 296 | + if Stdlib.( = ) (Js.typeof tag) "string" then |
297 | 297 | let tag = (Obj.magic tag : string) in
|
298 | 298 | if Stdlib.( = ) tag "A" then (
|
299 | 299 | if Stdlib.( <> ) len 1 then
|
|
313 | 313 | if
|
314 | 314 | not
|
315 | 315 | (Stdlib.( && )
|
316 |
| - (Js.typeof fs = "object") |
| 316 | + (Stdlib.( = ) (Js.typeof fs) "object") |
317 | 317 | (Stdlib.( && )
|
318 | 318 | (not (Js.Array.isArray fs))
|
319 | 319 | (not
|
|
422 | 422 | let len = Js.Array.length array in
|
423 | 423 | if Stdlib.( > ) len 0 then
|
424 | 424 | let tag = Js.Array.unsafe_get array 0 in
|
425 |
| - if Js.typeof tag = "string" then |
| 425 | + if Stdlib.( = ) (Js.typeof tag) "string" then |
426 | 426 | let tag = (Obj.magic tag : string) in
|
427 | 427 | if Stdlib.( = ) tag "A" then (
|
428 | 428 | if Stdlib.( <> ) len 1 then
|
|
492 | 492 | let len = Js.Array.length array in
|
493 | 493 | if Stdlib.( > ) len 0 then
|
494 | 494 | let tag = Js.Array.unsafe_get array 0 in
|
495 |
| - if Js.typeof tag = "string" then |
| 495 | + if Stdlib.( = ) (Js.typeof tag) "string" then |
496 | 496 | let tag = (Obj.magic tag : string) in
|
497 | 497 | if Stdlib.( = ) tag "C" then (
|
498 | 498 | if Stdlib.( <> ) len 2 then
|
|
547 | 547 | let len = Js.Array.length array in
|
548 | 548 | if Stdlib.( > ) len 0 then
|
549 | 549 | let tag = Js.Array.unsafe_get array 0 in
|
550 |
| - if Js.typeof tag = "string" then |
| 550 | + if Stdlib.( = ) (Js.typeof tag) "string" then |
551 | 551 | let tag = (Obj.magic tag : string) in
|
552 | 552 | if Stdlib.( = ) tag "A" then (
|
553 | 553 | if Stdlib.( <> ) len 1 then
|
|
605 | 605 | let len = Js.Array.length array in
|
606 | 606 | if Stdlib.( > ) len 0 then
|
607 | 607 | let tag = Js.Array.unsafe_get array 0 in
|
608 |
| - if Js.typeof tag = "string" then |
| 608 | + if Stdlib.( = ) (Js.typeof tag) "string" then |
609 | 609 | let tag = (Obj.magic tag : string) in
|
610 | 610 | if Stdlib.( = ) tag "A" then (
|
611 | 611 | if Stdlib.( <> ) len 1 then
|
|
744 | 744 | let len = Js.Array.length array in
|
745 | 745 | if Stdlib.( > ) len 0 then
|
746 | 746 | let tag = Js.Array.unsafe_get array 0 in
|
747 |
| - if Js.typeof tag = "string" then |
| 747 | + if Stdlib.( = ) (Js.typeof tag) "string" then |
748 | 748 | let tag = (Obj.magic tag : string) in
|
749 | 749 | if Stdlib.( = ) tag "A" then (
|
750 | 750 | if Stdlib.( <> ) len 2 then
|
|
798 | 798 | if
|
799 | 799 | not
|
800 | 800 | (Stdlib.( && )
|
801 |
| - (Js.typeof x = "object") |
| 801 | + (Stdlib.( = ) (Js.typeof x) "object") |
802 | 802 | (Stdlib.( && )
|
803 | 803 | (not (Js.Array.isArray x))
|
804 | 804 | (not (Stdlib.( == ) (Obj.magic x : 'a Js.null) Js.null))))
|
|
847 | 847 | let len = Js.Array.length array in
|
848 | 848 | if Stdlib.( > ) len 0 then
|
849 | 849 | let tag = Js.Array.unsafe_get array 0 in
|
850 |
| - if Js.typeof tag = "string" then |
| 850 | + if Stdlib.( = ) (Js.typeof tag) "string" then |
851 | 851 | let tag = (Obj.magic tag : string) in
|
852 | 852 | if Stdlib.( = ) tag "A" then (
|
853 | 853 | if Stdlib.( <> ) len 2 then
|
|
857 | 857 | if
|
858 | 858 | not
|
859 | 859 | (Stdlib.( && )
|
860 |
| - (Js.typeof fs = "object") |
| 860 | + (Stdlib.( = ) (Js.typeof fs) "object") |
861 | 861 | (Stdlib.( && )
|
862 | 862 | (not (Js.Array.isArray fs))
|
863 | 863 | (not
|
|
0 commit comments