@octoguide/validation-utils
v1.1.4
Published
<dl> <dt><a href="#isEmailValid">isEmailValid</a></dt> <dd><p>does the email follow the convention <id>@<host-server>.<where></p> </dd> <dt><a href="#isNameValid">isNameValid</a></dt> <dd><p>check if name is entered</p> </dd> <dt><a href="#isValueEntered"
Downloads
6
Readme
Constants
isEmailValid
does the email follow the convention @.
Kind: global constant
| Param | Type | | --- | --- | | value | string |
isNameValid
check if name is entered
Kind: global constant
| Param | Type | | --- | --- | | value | string |
isValueEntered
check if value is entered
Kind: global constant
| Param | Type | | --- | --- | | value | string |
isNumberEnteredValid
Check the value is a number greater than or equal to the min and less than or equal to the max values specified
Kind: global constant
| Param | Type | | --- | --- | | value | number | | min | number | | max | number |
is0to100NumberValid
Check the value is a number greater than or equal to 0 and less than or equal to 100
Kind: global constant
| Param | Type | | --- | --- | | value | number |
isNumberValid
Check the value is a number
Kind: global constant
| Param | Type | | --- | --- | | value | number |
isEmpty
checks if the entry is empty - space, null, undefined
Kind: global constant
| Param | Type | | --- | --- | | e | any |