@cbnsndwch/zero-sources

SyncedQueryRegistry.hasQuery() method

Home > @cbnsndwch/nest-zero-synced-queries > SyncedQueryRegistry > hasQuery

SyncedQueryRegistry.hasQuery() method

Check if a query is registered.

Signature:

hasQuery(queryName: string): boolean;

Parameters

Parameter

Type

Description

queryName

string

The name of the query to check

Returns:

boolean

True if the query is registered

How was this page?