Module func
Functions
funcAttempt
- funcAttempt(callable: any, args?: any[], context?: any, catchExceptions?: boolean): any
-
Parameters
-
callable: any
-
args: any[] = []
-
context: any = null
-
catchExceptions: boolean = false
Returns any
funcCallVoid
- funcCallVoid(callback: Function, args?: any[]): void
-
Parameters
-
callback: Function
-
Optional args: any[]
Returns void
functionCached
- functionCached<F>(func: F): F
-
Type parameters
Parameters
Returns F
functionName
- functionName(func: Function): string
-
Parameters
Returns string
functionCached
Create a cached version of a pure function. Function arguments must be primitives.