Page Contents
Home > @loopback/core > isLifeCycleObserver
isLifeCycleObserver() function
Test if an object implements LifeCycleObserver
Signature:
export declare function isLifeCycleObserver(obj: object): obj is LifeCycleObserver;
Parameters
Parameter | Type | Description |
---|---|---|
obj | object | An object |
Returns:
obj is LifeCycleObserver