1.1.1 • Published 3 years ago

@tavernier-app/tavernier-toolbox v1.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

Tavernier-toolbox

badge1 badge2

A collection of useful TypeScript utilities used on Tavernier-App. Tested with Jest.

StatementsBranchesFunctionsLines
StatementsBranchesFunctionsLines

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

ParamDescription
emailstring to be checked

isNull(value) ⇒

Returns true if the value sent is null.

Kind: global function
Returns: boolean

ParamDescription
valuevalue of any type to be checked

isUndefined(value) ⇒

Returns true if the value is undefined.

Kind: global function
Returns: boolean

ParamDescription
valuevalue of any type to be checked

isNullOrUndefined(value) ⇒

Returns true if the value is null or undefined.

Kind: global function
Returns: boolean

ParamDescription
valuevalue of any type to be checked

isObject(value) ⇒

Returns true if the value is an non-null object.

Kind: global function
Returns: boolean

ParamDescription
valuevalue of any type to be checked