Invert treats null as false, returning true
toint() now works on numbers as well as strings