UseObserverHas
katanakit-js / useObserverHas
Function: useObserverHas()
Section titled “Function: useObserverHas()”function useObserverHas(key): boolean;Defined in: infrastructure/observer/observer.service.ts:197
Checks whether an observer with the given key exists.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
key |
string |
The observer key to check. |
Returns
Section titled “Returns”boolean
true if an observer is registered under the key.