Zap
Constants
VERSION = "0.1.0"
Instance methods
chunk(array, size)
Sourcecompact(array)
Sourceconcat(array, *values)
Sourcecount_by
Sourcedrop(array, number = 1)
Sourcedrop_right(array, number = 1)
Sourceevery
Sourcefill(array, value, start_index = 0, end_index = array.size + 1)
Sourcefilter(array, func)
Sourcefind
Sourcefind_last
Sourceflat_map
Sourceflat_map_deep
Sourceflat_map_depth
Sourceflatten(array)
Sourceflatten_depth(array, depth = 1)
Sourcefor_each(array, func)
Sourcefor_each_right
Sourcefrom_pairs(array)
Sourcegroup_by
Sourcehead(array)
Sourceincludes
Sourceindex_of(array, value, start_index = 0)
Sourceinitial(array)
Sourceintersection(*values)
Sourceintersection_by
Sourceintersection_with
Sourceinvoke_map
Sourcejoin(array, separator = ',')
Sourcekey_by
Sourcelast(array)
Sourcelast_index_of
Sourcemap(array, func)
Sourcemap
Sourcenth(array, index = 0)
Sourceorder_by
Sourcepartition
Sourcepull(array, *value)
Sourcereduce(array, func)
Sourcereduce_right
Sourcereject
Sourcereverse(array)
Sourcesample(array)
Sourceshuffle(array)
Sourcesorted_uniq(array)
Sourcetail(array)
Sourcetake(array, start_index = 1)
Sourceunion(*value)
Sourcewithout(array, *values)
Sourcexor(*values)
Sourcezip(*values)
Source