-
clone(o)
-
Clone an Object
Parameters:
Name |
Type |
Description |
o |
Object
|
Object to clone |
-
getCountry()
→ {string|null}
-
Tries to get country from language
Returns:
string
|
null
- Country code or null if couldn't find
-
getLanguage()
→ {string}
-
Get ISO 639-1 language string
Returns:
string
- ISO 639-1 language string
-
isNumeric(n)
→ {boolean}
-
Check if given argument is numeric
Parameters:
Name |
Type |
Description |
n |
*
|
Subject of examination |
Returns:
boolean
- Verdict
-
md5(String)
→ {string}
-
MD5
Parameters:
Name |
Type |
Description |
String |
string
|
to be hashed |
Returns:
string
- Hash
-
parseValue(value)
→ {*}
-
Parse value to proper type
Parameters:
Name |
Type |
Description |
value |
*
|
Value to be parsed |
Returns:
*
- Parsed value