I want to convert an object like this:
{ status: true, count: true, period: false, price: false }
[ 'status', 'count' ]
How can I find the true key value in the object and convert to an Object to an array?
I want to convert an object like this:
{ status: true, count: true, period: false, price: false }
[ 'status', 'count' ]
How can I find the true key value in the object and convert to an Object to an array?