• Parameters

    • pattern: string
    • OptionalmaxLength: number

    Returns (value: string) => boolean