• Check if target is a valid passport number relative to provided arg ISO Country Code.

    Example

    expect(isPassportNumber('AF0549358', 'AM').value).toBeTruthy()
    

    Parameters

    • target: string

      The passport number

    • countryCode: string

      The country code

    Returns Result<boolean | undefined>

Generated using TypeDoc