import { validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { isMongoId } = validator;
Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. If given value is not a string, then it returns false.
import { validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { isMongoId } = validator;
Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. If given value is not a string, then it returns false.