Skip to main content
Module

x/core_fn/mod.ts>unicode

A collection of built-in object method and property as currying function
Latest
variable unicode
import { unicode } from "https://deno.land/x/core_fn@v1.0.0-beta.16/mod.ts";

Returns a Boolean value indicating the state of the Unicode flag (u) used with a regular expression. Default is false. Read-only.

Examples

Example 1

dotAll(/test/u) // true
dotAll(/test/) // false

type

(regExp: RegExp) => unknown