How do I check if a SASS Map already exists and only define one if this is not the case?
I have tried:
@if ($myMap) {
// do someting
}
and
@if variable-exists($myMap) {
// do something
}
But I get the error "Undefined variable: "$myMap"? I'm sure this is pretty straghtforward but I can't seem to find the answer online?
Thanks