Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/bytes/last_index_of_needle.ts

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

Functions

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