Function parameter types as tuple.
A type of function result.
A type if this
object expected by function.
The first function to call.
Rest
...args: TArgsThe second function to call.
Optional function call results merger. Accepts two function results as arguments and returns the final result. When omitted the first function call result is ignored and the second function's call result is returned.
A function that calls both of the given ones and merges their results. If one of the functions is absent,
then just returns another one. If both are absent, then returns undefined
.
Rest
...args: TArgsRest
...args: TArgsOptional
merge: ((first, second) => TReturn)Rest
...args: TArgsOptional
merge: ((first, second) => TReturn)Generated using TypeDoc
Merges two functions by calling one after another.
Optionally merges function call results.