Augmentations for functions.
This module's augmentations can be applied by using the following import:
import "@neotype/extensions/function.js"; Copy
import "@neotype/extensions/function.js";
Functions have the following behavior as a semigroup:
<TArgs extends unknown[], T>(...args: TArgs) => T
Semigroup
T
Generated using TypeDoc
Augmentations for functions.
Remarks
Importing this module
This module's augmentations can be applied by using the following import:
Combining functions as a semigroup
Functions have the following behavior as a semigroup:
<TArgs extends unknown[], T>(...args: TArgs) => T
implementsSemigroup
whenT
implementsSemigroup
.