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

pub fn ends_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 position "end position" - length https://tc39.github.io/ecma262/#sec-string.prototype.endswith