8000 Add a version of `_.matches` that allows partial matches · Issue #3713 · lodash/lodash · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add a version of _.matches that allows partial matches #3713
Closed
@daedalus28

Description

@daedalus28

_.matches requires all properties to match. Often times a partial match is sufficient. Since there are other methods in lodash that follow that kind of pattern, it seems like there is a missing matchesSome method in lodash. I've created a quick working draft here to clearly document what I'm describing (in case there's something already in lodash I'm missing).

https://runkit.com/daedalus28/futil-matchessome-draft

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0