Open AndrolGenhald opened 2 years ago
iterable is a weird pseudotype, and while it's technically allowed to check it with instanceof, it always returns false.
iterable
instanceof
false
https://3v4l.org/gNWrQ https://psalm.dev/r/53b6ff0007
I found these snippets:
iterable
is a weird pseudotype, and while it's technically allowed to check it withinstanceof
, it always returnsfalse
.https://3v4l.org/gNWrQ https://psalm.dev/r/53b6ff0007