@bisham/predicates
v0.0.3
Published
Strongly Typed Predicate Functions.
Downloads
12
Readme
Functions
isOnline()
when runned in browser environment, then returns online status, when runned in nodejs then returns nullisEmpty(value)
returns true if either the argument is null or undefinedisNotEmpty(value)
returns true if neither the argument is null nor undefinedisBrowser()
return if the current environment is browser or notisString(value)
,isFunction(value)
,isNumber(value)
,isUndefined(value)
,isNull(value)
,isObject(value)
,isBoolean(value)