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

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

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

The startsWith() method determines whether a string begins with the characters of a specified string, returning true or false as appropriate.

More information: