mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +00:00
427 B
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