Home »
MCQs »
SASS MCQs
Which Sass function is used to get the length of the list?
40. Which Sass function is used to get the length of the list?
- length(list)
- elements(list)
- count(list)
- countelements(list)
Answer: A) length(list)
Explanation:
The length(list) function is used to get the length of the list.
Example:
is-bracketed([x y z])
Result: 3