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

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

String.prototype.includes( searchString[, position] )

The includes() method determines whether one string may be found within another string, returning true or false as appropriate.

More information: