module

Zap

Constants

VERSION = "0.1.0"

Instance methods

chunk(array, size)
Source
compact(array)
Source
concat(array, *values)
Source
count_by
Source
drop(array, number = 1)
Source
drop_right(array, number = 1)
Source
every
Source
fill(array, value, start_index = 0, end_index = array.size + 1)
Source
filter(array, func)
Source
find
Source
find_last
Source
flat_map
Source
flat_map_deep
Source
flat_map_depth
Source
flatten(array)
Source
flatten_depth(array, depth = 1)
Source
flatten_type(object)

Util

Source
for_each(array, func)
Source
for_each_right
Source
from_pairs(array)
Source
group_by
Source
head(array)
Source
includes
Source
index_of(array, value, start_index = 0)
Source
initial(array)
Source
intersection(*values)
Source
intersection_by
Source
intersection_with
Source
invoke_map
Source
join(array, separator = ',')
Source
key_by
Source
last(array)
Source
last_index_of
Source
map(array, func)
Source
nth(array, index = 0)
Source
order_by
Source
partition
Source
pull(array, *value)
Source
reduce(array, func)
Source
reduce_right
Source
reject
Source
reverse(array)
Source
sample(array)
Source
shuffle(array)
Source
sorted_uniq(array)
Source
tail(array)
Source
take(array, start_index = 1)
Source
union(*value)
Source
without(array, *values)
Source
xor(*values)
Source
zip(*values)
Source