mirror of
https://github.com/bazelbuild/bazel-skylib
synced 2024-11-28 08:43:51 +00:00
2.2 KiB
Executable file
2.2 KiB
Executable file
collections.after_each
collections.after_each(separator, iterable)
Inserts separator
after each item in iterable
.
Parameters
separator |
required.
The value to insert after each item in `iterable`. |
iterable |
required.
The list into which to intersperse the separator. |
collections.before_each
collections.before_each(separator, iterable)
Inserts separator
before each item in iterable
.
Parameters
separator |
required.
The value to insert before each item in `iterable`. |
iterable |
required.
The list into which to intersperse the separator. |
collections.uniq
collections.uniq(iterable)
Returns a list of unique elements in iterable
.
Requires all the elements to be hashable.
Parameters
iterable |
required.
An iterable to filter. |