Skip to main content

Function: batchMatch()

function batchMatch(filenames, templates): MatchResult[];

Defined in: src/matcher.ts:14

Match source filenames to templates by match_pattern.

Parameters

ParameterType
filenamesstring[]
templates{ id: string; meta: TemplateMeta; }[]

Returns

MatchResult[]

Stable

Frozen at 1.0 per spec/STABILITY.md "Public API surface".