The case is simple - I\'ve got a following object:
Object {1: false, 2: true, 3: false, 4: false, 5: false, 6: false, 7: false, 8: true, 12: false, 13: false, 14
Giorgi Kandelaki gave a good answer, but it had some potential problems (see my comment on his answer).
The correct way is:
_(obj).pairs().filter(_.last).map(_.first)
or
_.map(_.filter(_.pairs(obj),_.last),_.first)