Skip to content

Feature request: ignore undefined values #127

Open
@tmtron

Description

in version 3.1.3 of the library the following comparison returns false

equal({ a: undefined }, {})

That's quite a surprise for me, but since there are test-cases for this case, I guess it works as expected.

It would be good to have an option to ignore undefined values.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions