My microservice is providing me with a series of boolean values.
"mon": true,
"tues": false,
"wed": false,
"thurs": true,
"fri": false,
"sat": true,
"sun": false,
I want to take the values marked as true and convert them into an array like this:
options = ['mon', 'thurs', 'sat']
What would be the best approach to accomplish this task?