isPassport static method

bool isPassport(
  1. String input
)

Return whether input matches regex of Passport.

Implementation

static bool isPassport(String input) {
  return matches(regexPassport, input);
}