Skip to content

SearchMatcherGuards

Unofficial

Exact prototype identity guards for matchers compiled by one running app. Obtain these through getSearchMatcherGuards from the implementations entry point. Unknown nodes and subclasses are rejected; callers narrowing candidate sets must keep those conservative.

Import:

import type { SearchMatcherGuards } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface SearchMatcherGuards

Methods

MethodReturnsDescription
and(matcher)matcher is SearchCompositeMatcherChecks the exact prototype of a and matcher.
case(matcher)matcher is SearchCaseMatcherChecks the exact prototype of a case matcher.
comparison(matcher)matcher is SearchComparisonMatcherChecks the exact prototype of a comparison matcher.
content(matcher)matcher is SearchUnaryMatcherChecks the exact prototype of a content matcher.
file(matcher)matcher is SearchUnaryMatcherChecks the exact prototype of a file matcher.
negation(matcher)matcher is SearchUnaryMatcherChecks the exact prototype of a negation matcher.
or(matcher)matcher is SearchCompositeMatcherChecks the exact prototype of a or matcher.
path(matcher)matcher is SearchUnaryMatcherChecks the exact prototype of a path matcher.
property(matcher)matcher is SearchPropertyMatcherChecks the exact prototype of a property matcher.
quotedText(matcher)matcher is SearchQuotedTextMatcherChecks the exact prototype of a quotedText matcher.
regex(matcher)matcher is SearchRegexMatcherChecks the exact prototype of a regex matcher.
tag(matcher)matcher is SearchTagMatcherChecks the exact prototype of a tag matcher.
text(matcher)matcher is SearchTextMatcherChecks the exact prototype of a text matcher.

Links to this page: