Page Contents
Home > @loopback/context > InvocationContext > assertMethodExists
InvocationContext.assertMethodExists() method
Assert the method exists on the target. An error will be thrown if otherwise.
Signature:
assertMethodExists(): Record<string, Function>;
Returns:
Record<string, Function>