hello,
I have two functions, isPojo returns true if value is pojo (its's constructor is "Object"), I have return type set to:
value is { [key: PropertyKey]: *}
but it's incorrect,because it gives type "true" for non Pojos, such as arrays or Sets.
Another function isIterable returns true if value is iterable (contain "Symbol.iterator") but is not string. I have return type set to value is Iterable, but this includes string.
Can someone help me, please ?