BE-SPAN/node_modules/ext/docs/string_/includes.md
githubna-ilham 722cd440e8 first commit
2024-10-20 22:04:16 +07: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