Replies: 2 comments 2 replies
-
| 
         "How to" questions are best posed on Stack Overflow. This is not a bug. That said, this would be the solution: #maps() {
  white: #fff;
  black: #000;
}
@white: #maps[white];
@black: #maps[black]; | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Sorry, I didn't make it clear.   each(#maps(), .(@v, @k, @i) {
    e(@)@{k}: @v;
  }Is there a way not to set the variables one by one?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I have a map, like below:
Now, I want to convert it to some variable:
But I don't know what to do, is there any way?
Beta Was this translation helpful? Give feedback.
All reactions