Hi!
I'm sure you're aware of JS quirks in type detection, and e.g. typeof (new Number(4)) === 'object'. This can completely break coercion logic. I'd suggest to use robust _.isXXX() to determine the types of the instances, given you already required _ as dependency.
Best regards,
--Vladimir++
Hi!
I'm sure you're aware of JS quirks in type detection, and e.g.
typeof (new Number(4)) === 'object'. This can completely break coercion logic. I'd suggest to use robust_.isXXX()to determine the types of the instances, given you already required_as dependency.Best regards,
--Vladimir++