Skip to content

Add .tap method #1

@micheleriva

Description

@micheleriva

(any).tamp method should log the object and then return it. It should be applicable to all data types.

"string".tap() // => "string"
{foo: "bar"}.tap() // => {foo: "bar"}

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