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

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