import { isIdentityCard } from "https://deno.land/x/deno_class_validator@v1.0.0/src/index.ts";
Check if the string is a valid identity card code. locale is one of ['ES', 'zh-TW', 'he-IL', 'ar-TN'] OR 'any'. If 'any' is used, function will check if any of the locals match. Defaults to 'any'. If given value is not a string, then it returns false.