Package Exports
- @bisham/predicates
- @bisham/predicates/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bisham/predicates) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Common Predicates
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)