Skip to content

typeof #9

Description

@dvv

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++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions