Utils for javascript
pnpm add utility-isimport u from 'utility-is'
u('❤️');
// => string
u.isString('❤️')
// => true
u.isNonNullable(null)
// => falsereturn the type of value
Example:
'string''number''boolean''array''object''symbol''map''set'
like:
return false if there is no await statement in the function
And More...