Interface Pattern

interface Pattern {
    source: string;
    test(val): boolean | Promise<boolean>;
}

Properties

Methods

Properties

source: string

Methods

  • Parameters

    • val: string

    Returns boolean | Promise<boolean>

Generated using TypeDoc