Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

this undefined within where pipe #96

Open
@Et3rnal

Description

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Current behavior

Using the where pipe to call the function I can't access this

num = 1
aEqualsOne(item) {
  return item.a === this.num;
}

If this is not a bug, how can I pass parameters to the pipe?

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