Skip to main content
Module

x/leaves/mod.ts>validator.IsSurrogatePair

A Web framework For Deno with Decorator and middleware
Latest
function validator.IsSurrogatePair
import { validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { IsSurrogatePair } = validator;

Checks if the string contains any surrogate pairs chars. If given value is not a string, then it returns false.

Parameters

optional
validationOptions: ValidationOptions

Returns

PropertyDecorator