Skip to content

registerSiftMatcher

function registerSiftMatcher(name?): () => void;

Defined in: sift-matcher.ts:43

Convenience registration: register siftMatcher on the process-wide registry under name (default "sift"). Returns the dispose function from ./matchers.registerMatcher.

Pass "default" to make it the matcher used when a condition omits matcher.

Parameter Type Default value
name? string "sift"

() => void