Skip to content

Bug in documentation _.findDeep* #144

@AlexanderTheGr8-gr

Description

@AlexanderTheGr8-gr

While reading the documentation I see:

_.findDeep( obj, predicate, options={
    checkCircular: false,
    leavesOnly: childrenPath →→ !== ←← undefined,
    ...

While checking the code, I see:

    options = _.merge(
      {
        checkCircular: false,
        leavesOnly: options.childrenPath →→ === ←← undefined, 
        pathFormat: 'string',
      },
      options
    );

(Arrows → ← added for clarity)

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