Accepts an array of 2 elements containing from and to values and returns on object of shape:
{ greaterThan?: value[0], lessThan?: value[1],} Copy
{ greaterThan?: value[0], lessThan?: value[1],}
The transformer is designed to be used on a property that has two filters (a 'from' as well as a 'to' filter) attached to it.
An array of two string elements. Element 1 contains 'from' value, element 2 contains 'to' value.
An object that can be used as filter for fields that accept greaterThan as well as lessThan options.
greaterThan
lessThan
Generated using TypeDoc
Accepts an array of 2 elements containing from and to values and returns on object of shape:
The transformer is designed to be used on a property that has two filters (a 'from' as well as a 'to' filter) attached to it.