• Type Parameters

    Parameters

    • specimen: unknown
    • pattern: P
    • Optionallabel: string | number

    Returns asserts specimen is P extends TypedPattern<any>
        ? PatternType<P<P>>
        : unknown