- mustMatch<P>(specimen, pattern, label?): asserts specimen is P extends TypedPattern<any>
? PatternType<P<P>>
: unknown Parameters
- specimen: unknown
- pattern: P
Optional
label: string | number
Returns asserts specimen is P extends TypedPattern<any>
? PatternType<P<P>>
: unknown