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 SearchMatcherGuardsMethods
| Method | Returns | Description | |
|---|---|---|---|
| and(matcher) | matcher is SearchCompositeMatcher | Checks the exact prototype of a and matcher. | |
| case(matcher) | matcher is SearchCaseMatcher | Checks the exact prototype of a case matcher. | |
| comparison(matcher) | matcher is SearchComparisonMatcher | Checks the exact prototype of a comparison matcher. | |
| content(matcher) | matcher is SearchUnaryMatcher | Checks the exact prototype of a content matcher. | |
| file(matcher) | matcher is SearchUnaryMatcher | Checks the exact prototype of a file matcher. | |
| negation(matcher) | matcher is SearchUnaryMatcher | Checks the exact prototype of a negation matcher. | |
| or(matcher) | matcher is SearchCompositeMatcher | Checks the exact prototype of a or matcher. | |
| path(matcher) | matcher is SearchUnaryMatcher | Checks the exact prototype of a path matcher. | |
| property(matcher) | matcher is SearchPropertyMatcher | Checks the exact prototype of a property matcher. | |
| quotedText(matcher) | matcher is SearchQuotedTextMatcher | Checks the exact prototype of a quotedText matcher. | |
| regex(matcher) | matcher is SearchRegexMatcher | Checks the exact prototype of a regex matcher. | |
| tag(matcher) | matcher is SearchTagMatcher | Checks the exact prototype of a tag matcher. | |
| text(matcher) | matcher is SearchTextMatcher | Checks the exact prototype of a text matcher. |
Links to this page: