Skip to content

API Reference


API Reference / @dasch-ng/utils / src / WithoutPipe

Class: WithoutPipe ​

Defined in: libs/ng/utils/src/lib/without.pipe.ts:13

Returns the items of an iterable that are not among the given values (=== comparison).

Example ​

html
@for (tag of tags | without: selectedTag; track tag) { … }
@for (id of ids | without: 1 : 2; track id) { … }

Implements ​

  • PipeTransform

Constructors ​

Constructor ​

new WithoutPipe(): WithoutPipe

Returns ​

WithoutPipe

Methods ​

transform() ​

transform<T>(items, ...values): T[]

Defined in: libs/ng/utils/src/lib/without.pipe.ts:14

Type Parameters ​

T ​

T

Parameters ​

items ​

Iterable<T, any, any> | null | undefined

values ​

...T[]

Returns ​

T[]

Implementation of ​

PipeTransform.transform

Released under the MIT License.