Module

x/lodash_es/mod.ts>startsWith

lodash for deno use
Latest
function startsWith
import { startsWith } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/mod.ts";

Checks if string starts with the given target string.

Examples

_.startsWith('abc', 'a'); // => true

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

_.startsWith('abc', 'b', 1); // => true

Parameters

string
target
position