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

x/deno/std/bytes/mod.ts>findLastIndex

A modern runtime for JavaScript and TypeScript.
Go to Latest
function findLastIndex
import { findLastIndex } from "https://deno.land/x/deno@v0.28.0/std/bytes/mod.ts";

Find last index of binary pattern from a. If not found, then return -1 *

Parameters

a: Uint8Array
pat: Uint8Array

Returns

number