1.1.4 • Published 3 years ago
@octoguide/validation-utils v1.1.4
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 |