Skip to content
0

katanakit-js / useObserverHas

Function: useObserverHas() ​

ts
function useObserverHas(key): boolean;

Defined in: src/infrastructure/observer/observer.service.ts:197

Checks whether an observer with the given key exists.

Parameters ​

ParameterTypeDescription
keystringThe observer key to check.

Returns ​

boolean

true if an observer is registered under the key.

Released under the MIT License.