Global

Methods

general(string, regexpObject)

Test if a given string match at least one of the given regular expressions

Source:
Parameters:
Name Type Description
string String

String to test

regexpObject Object

Object with regular expression to test

Returns:

Boolean

isValid(string, regexpValue)

Test if a given string match the given regular expression

Source:
Parameters:
Name Type Description
string String

String to test

regexpValue String

regular expression to test

Returns:

Boolean

isVoid(value)

Test if a given string is falsy

Source:
Parameters:
Name Type Description
value String

Value to check

Returns:

Boolean