3 ms·
No, it doesn't mean that. You can try it out here: https://runkit.com/embed/ev53mh0z4nxt https://runkit.com/embed/ev53mh0z4nxt `makeTestType("null")()(null)` r
by twiss 8y ago
No, it doesn't mean that. You can try it out here: https://runkit.com/embed/ev53mh0z4nxt https://runkit.com/embed/ev53mh0z4nxt
`makeTestType("null")()(null)` return true, but `makeTestType("number")()(null)` doesn't. The signature of `makeTestType` is `type: String => () => value: Any => Boolean`.