A.DataType.String Class
Defined in:
Module: aui-datatype
alloy-ui/src/aui-datatype/js/aui-datatype.js:22
A.DataType.String provides a set of utility to provides a simple
function that evaluates a string to a primitive value (if possible).
Supports true and false also.
Index
Methods
Methods
evaluate
(
Boolean | null | number | String | undefined
-
data
Evaluates a string to a primitive value (if possible). Supports
true and false also. Unrecognized strings are
returned without any modification.
Parameters:
-
dataInput data to be evaluated.
Returns:
Boolean | null | number | String | undefined:
Parsed value