Module

std/bytes/mod.ts>includes

Deno standard library
Go to Latest
function includes
import { includes } from "https://dotland.deno.dev/std@0.131.0/bytes/mod.ts";

Determines whether the source array includes the pattern array.

Parameters

source: Uint8Array
pattern: Uint8Array
optional
fromIndex = [UNSUPPORTED]

Returns

boolean