Port

Checks if the given number is a valid port number

import Schema from "@rapidom/schema";

const Validator = Schema.number().port();

Last updated