Home »
MCQs »
SASS MCQs
Which Sass function is used to check whether the list square brackets or not?
38. Which Sass function is used to check whether the list square brackets or not?
- check-bracket(list)
- check-brackets(list)
- is-bracketed(list)
- is-bracketedlis(list)
Answer: C) is-bracketed(list)
Explanation:
The is-bracketed(list) function is used to check whether the list has square brackets or not.
Example:
is-bracketed([x y z])
Result: true