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

x/rambda/index.d.ts>test

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

It determines whether str matches regExpression.

Parameters

regExpression: RegExp

Returns

(str: string) => boolean

Parameters

regExpression: RegExp
str: string

Returns

boolean