collections.After
Returns a slice containing the elements after the first N elements of the given slice.
collections.Append
Returns a slice by adding one or more elements, or an entire second slice, to the end of the given slice.
collections.Apply
Returns a slice by transforming each element of the given slice using a specific function and parameters.
collections.Complement
Returns a slice by identifying elements in the last given slice that do not appear in any of the preceding slices.
collections.D
Returns a sorted slice of unique random integers based on a given seed, count, and maximum value.
collections.Delimit
Returns a string by joining the values of the given slice or map with a delimiter.
collections.Dictionary
Returns a map created from the given key-value pairs.
collections.First
Returns the first N elements of the given slice or string.
collections.Group
Returns a map by grouping the given page collection (slice) by a specific key.
collections.In
Reports whether a value exists within the given slice or string.
collections.Index
Returns an element or value from the given slice or map at the specified key(s).
collections.Intersect
Returns a slice containing the common elements found in two given slices, in the same order as the first slice.
collections.IsSet
Reports whether a specific key or index exists in the given map or slice.
collections.KeyVals
Returns a KeyVals struct by pairing a given key and values.
collections.Last
Returns the last N elements of the given slice or string.
collections.Merge
Returns a map by combining two or more given maps.
collections.NewScratch
Returns a locally scoped "scratch pad" to store and manipulate data.
collections.Querify
Returns a URL query string from the given map, slice, or sequence of key-value pairs.
collections.Reverse
Returns a slice by reversing the order of elements in the given slice.
collections.Seq
Returns a slice of integers starting from 1 or a given value, incrementing by 1 or a given value, and ending at a given value.
collections.Shuffle
Returns a slice by randomizing the element order of the given slice.
collections.Slice
Returns a slice created from the given values.
collections.Sort
Returns a sorted map or slice by reordering the given collection by a key and order.
collections.SymDiff
Returns a slice containing the symmetric difference of two given slices.
collections.Union
Returns a slice containing the unique elements from two given slices.
collections.Uniq
Returns a slice by removing duplicate elements from the given slice.
collections.Where
Returns a slice by filtering the given slice based on a key, operator, and value.
