Checks if the elements of an array are less than (or equal to) a number or the elements of another array, and then returns an array with the elements that pass the check.
The array
The array or number
Optional
Whether the check is "less than" (false) or "less than or equal to" (true)
Checks if the elements of an array are less than (or equal to) a number or the elements of another array, and then returns an array with the elements that pass the check.