Home »
MCQs »
SASS MCQs
Which Sass function is used to get the index position for the value in list?
37. Which Sass function is used to get the index position for the value in list?
- get-index(list, value)
- getindex(list, value)
- list-index(list, value)
- index(list, value)
Answer: D) index(list, value)
Explanation:
The index(list, value) function is used to get the index position for the value in list.
Example:
index(a d c, d)
Result: 2