- Source:
Members
-
<inner> is[type]
-
Determine whether a variable is of the type specified in the function name, eg isNumber
Types available are Null, Undefined, Object, Array, String, Number, Boolean, Function, RegExp, NaN and Infinite
- Source:
Methods
-
<static> isScalar(obj) → {bool}
-
Determine whether an object is scalar
Parameters:
Name Type Description obj
mixed - Source:
Returns:
- Type
- bool
-
<static> splitTrim(char, string) → {String}
-
Split a string by a character, trim the string and rejoin the string
Parameters:
Name Type Description char
String string
String - Source:
Returns:
- Type
- String
-
<static> stringTrim(str) → {String}
-
Wrap String.prototype.trim in a way that is easily mappable
Parameters:
Name Type Description str
String The string to trim
- Source:
Returns:
- The trimmed string
- Type
- String
-
<static> type(o) → {String}
-
Get the type of the variable passed
Parameters:
Name Type Description o
mixed - Source:
- See:
Returns:
- Type
- String