Lets say I have an object
var users = [
{ Mike: 'true' },
{ Tony: 'True' },
{ Ismael: 'RU' }
];
I have this problem where I want to normalise my object, basically replace "true" or "True" with a boolean true anything else should be false.
By the way I may have the syntax for users wrong, chrome is telling me users.constructor == Object and not Array.
How can I achieve this using lodash?
'RU'becomefalse?