Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function isPassportNumber
import { isPassportNumber } from "https://deno.land/x/validatte@0.7.2/behaviors/common/isPassportNumber.ts";

Check if str is a valid passport number relative to provided ISO Country Code.

Parameters

str: string
countryCode: string

Returns

boolean