• Check whether the target string is a valid ISO 3166-1 alpha-2 officially assigned country code

    Example

    expect(isISO31661Alpha2('FR').value).toBeTruthy()
    

    Parameters

    • target: string

      The target string

    Returns Result<boolean | undefined>

Generated using TypeDoc