biobulkbende.org/node_modules/ext/docs/string_/includes.md
2020-09-16 14:23:28 +02:00

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