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

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

Returns a Boolean indicating whether the sequence of code units of the "search string" is the same as the corresponding code units of this string starting at index "position" https://tc39.github.io/ecma262/#sec-string.prototype.startswith