Skip to main content
Module

x/core_fn/mod.ts>multiline

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

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

Examples

Example 1

multiline(/test/y) // true
multiline(/test/) // false

type

(regExp: RegExp) => unknown