Sass List Functions

Sass List Functions

The following are the list of inbuilt list functions available in Sass language.

FunctionsExplanation
append()Returns a copy of a list with a value added to the end.
index()Returns the index of a value in a list.
is-bracketed()Returns whether a list has square brackets.
join()Returns a new list containing the elements of list1 followed by the elements of list2.
length()Returns the length of a list.
list-separator()Returns the name of the separator used by a list, either space or comma.
nth()Returns the element of a list at the specified index.
set-nth()Returns a copy of a list with the element at the specified index replaced with a given value.
zip()Combines every list in a list into a single list of sub-lists.

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author