• Checks whether the target string is a valid postal code

    Example

    expect(isPostalCode().value).toBeTruthy()
    

    Parameters

    • target: string

      The target string

    • locale: string

      The locale

    Returns Result<boolean | undefined>

Generated using TypeDoc