Page Contents
Home > @loopback/filter > isFilter
isFilter() function
TypeGuard for Filter
Signature:
export declare function isFilter<MT extends object>(candidate: any): candidate is Filter<MT>;
Parameters
Parameter | Type | Description |
---|---|---|
candidate | any |
Returns:
candidate is Filter<MT>