Skip to content

Merge isLong() and isInteger() #47

@lmartelli

Description

@lmartelli

Summary

JSON does not distinguish between long and int types. So in my opinion, it makes no sense to assert on those specific types. Same goes for isDouble() : isDecimal would make more sense.

But it would be a breaking change, so I guess the best is to use satisfies() with a custom condition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions