Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/endsWith.js";

Checks if string ends with the given target string.

Examples

_.endsWith('abc', 'c'); // => true

_.endsWith('abc', 'b'); // => false

_.endsWith('abc', 'b', 2); // => true

Parameters

string
target
position