import { startsWith } from "https://dotland.deno.dev/std@0.224.0/bytes/starts_with.ts";
Returns true
if the prefix array appears at the start of the source array,
false
otherwise.
The complexity of this function is O(prefix.length)
.
import { startsWith } from "https://dotland.deno.dev/std@0.224.0/bytes/starts_with.ts";
Returns true
if the prefix array appears at the start of the source array,
false
otherwise.
The complexity of this function is O(prefix.length)
.