whileExists()Creates a copy of an array with all of the consecutive items up to but not including the first value false-ish value.
false
opt_fromEnd is not given or is false-ish, an array of all of the consecutive true-ish values starting at the beginning of array will be returned. Otherwise an array of all of the consecutive true-ish values starting at the end of array will be returned.This function directly requires the following function which is included automatically:
untilExists()true-ish value.
This function is directly required by the following function:
untilExists()true-ish value.