Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/mod.ts>test

Faster and smaller alternative to Ramda
Go to Latest
function test
import { test } from "https://deno.land/x/rambda@9.2.1/mod.ts";

It determines whether str matches regExpression.

Parameters

regExpression: RegExp

Returns

(str: string) => boolean

Parameters

regExpression: RegExp
str: string

Returns

boolean