Skip to main content
Module

x/core_fn/mod.ts>ignoreCase

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

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

Examples

Example 1

ignoreCase(/test/s) // true
ignoreCase(/test/) // false

type

(regExp: RegExp) => unknown