Skip to main content
Module

x/fae/endsWith.ts>endsWith

A functional module for Deno inspired from Ramda.
Latest
variable endsWith
import { endsWith } from "https://deno.land/x/fae@v1.1.1/endsWith.ts";

checks if functor ends with suffix

 Fae.endsWith('c', 'abc')                //=> true
 Fae.endsWith('b', 'abc')                //=> false
 Fae.endsWith(['c'], ['a', 'b', 'c'])    //=> true
 Fae.endsWith(['b'], ['a', 'b', 'c'])    //=> false

type

EndsWith