enum := import("enum")all(x, fn) => bool: returns true if the given functionfnevaluates to a truthy value on all of the items inx. It returns undefined ifxis not enumerable.any(x, fn) => bool: returns true if the given functionfnevaluates to a truthy value on any of the items inx. It returns undefined ifxis not enumerable.chunk(x, size) => [object]: returns an array of elements split into groups the length of size. Ifxcan't be split evenly, the final chunk will be the remaining elements. It returns undefined ifxis not array.at(x, key) => object: returns an element at the given index (ifxis array) or key (ifxis map). It returns undefined ifxis not enumerable.each(x, fn): iterates over elements ofxand invokesfnfor each element.fnis invoked with two arguments:keyandvalue.keyis an int index ifxis array.keyis a string key ifxis map. It does not iterate and returns undefined ifxis not enumerable.`filter(x, fn) => [object]: iterates over elements ofx, returning an array of all elementsfnreturns truthy for.fnis invoked with two arguments:keyandvalue.keyis an int index ifxis array. It returns undefined ifxis not array.find(x, fn) => object: iterates over elements ofx, returning value of the first elementfnreturns truthy for.fnis invoked with two arguments:keyandvalue.keyis an int index ifxis array.keyis a string key ifxis map. It returns undefined ifxis not enumerable.find_key(x, fn) => int/string: iterates over elements ofx, returning key or index of the first elementfnreturns truthy for.fnis invoked with two arguments:keyandvalue.keyis an int index ifxis array.keyis a string key ifxis map. It returns undefined ifxis not enumerable.map(x, fn) => [object]: creates an array of values by running each element inxthroughfn.fnis invoked with two arguments:keyandvalue.keyis an int index ifxis array.keyis a string key ifxis map. It returns undefined ifxis not enumerable.key(k, _) => object: returns the first argument.value(_, v) => object: returns the second argument.