8000 add a pluckDefault operator · Issue #68 · reactgular/observables · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
add a pluckDefault operator #68
Open
@codemile

Description

@codemile

Summary

The pluck() operator will pick out a property from an object, but it throws an error at run-time if the value is not an object (such as undefined). Create an operator that will pluck if the value is object or emit a default value if it is not.

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