Skip to content

cascade zero value problem  #339

@chris110408

Description

@chris110408

when _.iteratee(x)(obj) === 0
cascade will not return the correct value.
e.g.
F.cascade(['response.totalRecords', 'totalRecords'], { response: { totalRecords: 1, startRecord: 1, endRecord: 0, results: [] } })
the result is undefined instead of 0

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