Data-Mate: `Adapters Function Adapter Utils`
Table of contents
Functions
Functions
callValue
▸ callValue<T
>(fn
, input
, preserveNulls
, isValidator
, index
): (T
| null
)[]
This function is used to call a function on a value or recursively on a list/sub-list of values This is more equivalent to ProcessMode.INDIVIDUAL_VALUES for the function adapter
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
fn | (input : unknown , index : number ) => unknown |
input | unknown |
preserveNulls | boolean |
isValidator | boolean |
index | number |
Returns
(T
| null
)[]