-
isOnline()
when runned in browser environment, then returns online status, when runned in nodejs then returns null -
isEmpty(value)
returns true if either the argument is null or undefined -
isNotEmpty(value)
returns true if neither the argument is null nor undefined -
isBrowser()
return if the current environment is browser or not -
isString(value)
,isFunction(value)
,isNumber(value)
,isUndefined(value)
,isNull(value)
,isObject(value)
,isBoolean(value)
@bisham/predicates
0.0.3 • Public • PublishedPackage Sidebar
Install
npm i @bisham/predicates
Repository
Weekly Downloads
4
Version
0.0.3
License
MIT
Unpacked Size
3.56 kB
Total Files
14