Skip to content

unctionjs/isType

Repository files navigation

@unction/isType

Tests Stability Dependencies

string => A => boolean

Takes any value and then any value and returns an array containing those values.

isType("Object")({}) // => true
isType("Array")([]) // => true
isType("String")("") // => true