Skip to content

bindAllMethods

bindAllMethods(instance, excludePrefixes, excludeMethodNames): void

Bind all methods of an instance

Parameters

instance: any

The instance of the class

excludePrefixes: string[]= []

The prefixes of the methods to be excluded

excludeMethodNames: string[]= []

The names of the methods to be excluded

Returns

void

Source

src/utils/FrameworkUtils.ts:61