[][src]Function boa::builtins::array::find

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

Array.prototype.find ( callback, [thisArg] )

The find method executes the callback function once for each index of the array until the callback returns a truthy value. If so, find immediately returns the value of that element. Otherwise, find returns undefined. https://tc39.es/ecma262/#sec-array.prototype.find