Module

std/bytes/mod.ts>contains

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

Determines whether the source array includes the pattern array.

Parameters

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

Returns

boolean