GoScrobble/web/node_modules/ext/docs/string_/includes.md

427 B

string.includes(position = 0) (ext/string_/includes)

includes method for strings. Resolve native includes if implemented, otherwise fallback to shim implementation.

const includes = require("ext/string_/includes");

includes.call("razdwa", "raz"); // true
includes.call("razdwa", "trzy"); // false