@tavernier-app/tavernier-toolbox
v1.1.1
Published
A collection of useful TypeScript utilities used on Tavernier-App.
Downloads
2
Readme
Tavernier-toolbox
A collection of useful TypeScript utilities used on Tavernier-App. Tested with Jest.
| Statements | Branches | Functions | Lines | | -----------|----------|-----------|-------| | | | | |
Changelog
1.1.1
- Configuring Github Package
1.1.0
- Adding Jest Coverage
1.0.0
- Adding Check Module & Equality Module
Functions
checkEmailFormat(email) ⇒
Returns true if the string passed as parameter has an email format.
Kind: global function
Returns: boolean
| Param | Description | | --- | --- | | email | string to be checked |
isNull(value) ⇒
Returns true if the value sent is null.
Kind: global function
Returns: boolean
| Param | Description | | --- | --- | | value | value of any type to be checked |
isUndefined(value) ⇒
Returns true if the value is undefined.
Kind: global function
Returns: boolean
| Param | Description | | --- | --- | | value | value of any type to be checked |
isNullOrUndefined(value) ⇒
Returns true if the value is null or undefined.
Kind: global function
Returns: boolean
| Param | Description | | --- | --- | | value | value of any type to be checked |
isObject(value) ⇒
Returns true if the value is an non-null object.
Kind: global function
Returns: boolean
| Param | Description | | --- | --- | | value | value of any type to be checked |