bindAllMethods
bindAllMethods(
instance
,excludePrefixes
,excludeMethodNames
):void
Defined in: utils/bind.ts:63
Binds all methods of an instance to the instance.
Parameters
Section titled “Parameters”instance
Section titled “instance”any
The instance to which the methods should be bound.
excludePrefixes
Section titled “excludePrefixes”string
[] = []
An array of prefixes to exclude from the method names.
excludeMethodNames
Section titled “excludeMethodNames”string
[] = []
An array of method names to exclude.
Returns
Section titled “Returns”void