hugo/docs/content/en/functions/collections/Slice.md
2023-12-04 15:24:01 +01:00

469 B

title description categories keywords action related aliases
collections.Slice Creates a slice of all passed arguments.
aliases returnType signatures
slice
any
collections.Slice ITEM...
collections.Append
collections.Apply
collections.Delimit
collections.In
collections.Reverse
collections.Seq
collections.Slice
/functions/slice
{{ $s := slice "a" "b" "c" }}
{{ $s }} → [a b c]