true
if the transformer supports reverse transformations.
Flips the direction of the receiver's transformation, such that transformedValue
will
become reverseTransformedValue
, and vice-versa.
an inverted transformer.
Reverses the transformation of the given value.
The value to be reversed.
Transforms the given value.
The value to be transformed.
Creates a reversible transformer to convert an array of objects into an array of Model objects, and vice-versa.
The Model subclass to attempt to parse from each JSON object.
a transformer which transforms values using the given function. Reverse transformation will not be allowed.
a transformer which transforms values using the given functions.
A reversible value transformer to transform between a number and it's string representation.
A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
An object that contains one or more properties that specify comparison options.
a transformer which will map from strings to numbers for forward transformations, and from numbers to strings for reverse transformations.
Creates a reversible transformer to convert an object into a Model object, and vice-versa.
The Model subclass to attempt to parse from the JSON.
a transformer which transforms values using the given function, for forward or reverse transformations.
A reversible value transformer to transform between the keys and values of an object.
The object whose keys and values should be transformed between.
The result to fall back to, in case no key matching the input value was found during the forward transformation.
The result to fall back to, in case no value matching the input value was found during a reverse transformation.
Generated using TypeDoc
A value transformer supporting function-based transformation.