Code: Select all
FixType(val) => ( IsNumber(val) ? 1 * val : val )
I know this isn't normally necessary (which is amazing), but it would be nice to have when it comes up. In my case, I am storing file-parsed values for repeated use, so I wanted to prepare them for battle as much as possible.