Skip to main content
Module

x/structurae/index.ts>StringView#includes

Data structures for high-performance JavaScript applications.
Latest
method StringView.prototype.includes
import { StringView } from "https://deno.land/x/structurae@4.0.1/index.ts";

Checks whether the provided encoded sequence is found inside the view.

Parameters

searchValue: IndexedCollection

the value to search for

optional
position: number

the starting position

Returns

boolean

whether the value is found