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

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

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

Type Parameters

T extends string

Parameters

question: T
str: string

Returns

boolean

Type Parameters

T extends string

Parameters

question: T

Returns

(str: string) => boolean

Parameters

question: T[]
list: T[]

Returns

boolean

Parameters

question: T[]

Returns

(list: T[]) => boolean