Skip to content

_.min and _.max can combine #2530

@ahonn

Description

@ahonn

I find _.max and _.min have a lot of duplicate code, different only Infinity and - Infinity.
So I don't know why not combine _.max and _.min, create function like createMaxOrMin.

Metadata

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