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

x/rambda/files/index.d.ts>includes

Faster and smaller alternative to Ramda
Go to Latest
function includes
import { includes } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Type Parameters

T extends string

Parameters

valueToFind: T
input: string

Returns

boolean

Type Parameters

T extends string

Parameters

valueToFind: T

Returns

(input: string) => boolean

Parameters

valueToFind: T
input: T[]

Returns

boolean

Parameters

valueToFind: T

Returns

(input: T[]) => boolean