Skip to main content
Module

std/bytes/index_of_needle.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.208.0/bytes/index_of_needle.ts";

Functions

Returns the index of the first occurrence of the needle array in the source array, or -1 if it is not present.