[][src]Function boa::builtins::string::includes

pub fn includes(
    this: &Value,
    args: &[Value],
    ctx: &mut Interpreter
) -> ResultValue

Returns a Boolean indicating whether searchString appears as a substring of the result of converting this object to a String, at one or more indices that are greater than or equal to position. If position is undefined, 0 is assumed, so as to search all of the String. https://tc39.github.io/ecma262/#sec-string.prototype.includes