Validation
import { isArray, isBoolean, isDefined } from '@rtorcato/js-common/validation'
Exports
| Name | Summary |
|---|---|
isArray | Checks if a value is an array. |
isBoolean | Checks if a value is a boolean. |
isDefined | Checks if a value is defined (not null or undefined). |
isEmail | Checks if a string is a valid email address (simple regex). |
isNumber | Checks if a value is a number (and not NaN). |
isObject | Checks if a value is an object (but not null or array). |
isString | Check if a value is a string. |
isUrl | Checks if a string is a valid URL. |