Global

Members

(constant) isNodeJs :boolean

Description:
  • Flag if environment is Node JS
Source:
Flag if environment is Node JS
Type:
  • boolean

Methods

clone(o)

Description:
  • Clone an Object
Source:
Parameters:
Name Type Description
o Object Object to clone

getCountry() → {string|null}

Description:
  • Tries to get country from language
Source:
Returns:
Country code or null if it couldn't find
Type
string | null

getLanguage() → {string}

Description:
  • Get ISO 639-1 language string
Source:
Returns:
ISO 639-1 language string
Type
string

isNumeric(n) → {boolean}

Description:
  • Check if given argument is numeric
Source:
Parameters:
Name Type Description
n * Subject of examination
Returns:
Verdict
Type
boolean

parseValue(value) → {number|boolean|object}

Description:
  • Parse value to proper type
Source:
Parameters:
Name Type Description
value * Value to be parsed
Returns:
Parsed value
Type
number | boolean | object