Extension for sass:list module
list.get-bool()
Returns the list with elements of the bool type or null.
list.get-list()
Returns the list with elements of the list type or null.
list.get-map()
Returns the list with elements of the map type or null.
list.get-number()
Returns the list with elements of the number type or null.
list.get-string()
Returns the list with elements of the string type or null.
list.get-type()
Returns the list with elements of the given type or null.
list.has-bool()
Returns the bool indicating the given list contains any, all or only bool value.
list.has-list()
Returns the bool indicating the given list contains a list elements.
list.has-map()
Returns the bool indicating the given list contains a map elements.
list.has-number()
Returns the bool indicating the given list contains elements of number type.
list.has-string()
Returns the bool indicating the given list contains elements of string type.
list.has-type()
Returns the bool indicating the given list contains the specified type.
list.has-value()
Returns the bool indicating the given list contains the given value.
list.remove-duplicate()
list.remove-list()
list.remove-map()
list.remove-nth()
list.remove-number()
list.remove-range()
list.remove-string()
list.remove-type()
list.remove-value()
list.append()
Returns a copy of $list with $val added to the end, and/or with added multiple $values.
$list
$val
$values
modified
list.empty()
Returns the bool indicating whether the list is empty.
bool
list.first()
Returns the first list element of the given $list.
list.from()
Returns the list of the elements from the given $from index to the end of the $list.
$from
list.has()
Returns the bool indicating the given $list contains the $value and/or given $values.
$value
list.index()
Returns the index and/or indexes of the given $values.
list.indexes()
Returns all occurred indexes of the given $value and/or optional arbitrary $values checked by the given $operator.
$operator
list.insert-nth()
Returns the $list with $value inserted into index $n.
$n
list.join()
Returns a new list containing the elements of $list1 followed by the elements of $list2.
$list1
$list2
list.last()
Returns the last element of the given $list.
list.limit()
Returns the list of the elements from the given offset limited by the given limit.
list.nth()
Returns the element of $list at index $n or elements of given indexes $nts.
$nts
list.range()
Returns the list from the $list of the given range $from to $to.
$to
list.select()
Returns the list with elements selected by comparison.
list.to()
Returns the $list elements from the first index to the given $to index.
list.type()
Returns the type of all or selected $n indexes of the $list.
Last updated 1 year ago
Was this helpful?