import { validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { IsHSL } = validator;
Check if the string is an HSL (hue, saturation, lightness, optional alpha) color based on CSS Colors Level 4 specification. Comma-separated format supported. Space-separated format supported with the exception of a few edge cases (ex: hsl(200grad+.1%62%/1)). If given value is not a string, then it returns false.
Parameters
optional
validationOptions: ValidationOptions