@terascope/data-mate / function-configs/numeric/utils
function-configs/numeric/utils
Functions
runMathFn()
runMathFn<
T
>(fn
, ...extra
): (input
) =>number
|null
Type parameters
Type parameter |
---|
T extends (num , ...args ) => number |
Parameters
Parameter | Type |
---|---|
fn | T |
...extra | number [] |
Returns
Function
Parameters
Parameter | Type |
---|---|
input | unknown |
Returns
number
| null