Mykyta Maliarchuk 2a4507d529
[ACS-5266] Advanced Search - New component for Category facet (#8764)
* [ACS-5266] new component for category facet

* [ACS-5266] fixed tests & docs

* [ACS-5266] some fixes

* [ACS-5266] linting

* [ACS-5266] some improvements

* [ACS-5266] reduced observable from child component

* [ACS-5266] fixed docs

* [ACS-5266] rebase & improvements

* [ACS-5266] typo
2023-07-21 09:27:31 +02:00

29 lines
655 B
Markdown

---
Title: Is Included pipe
Added: v6.1.0
Status: Active
Last reviewed: 2023-06-13
---
# [Is Included pipe](../../../lib/content-services/src/lib/pipes/is-included.pipe.ts "Defined in is-included.pipe.ts")
Checks if the provided value is contained in the provided array.
## Basic Usage
<!-- {% raw %} -->
```HTML
<mat-option [disabled]="value | adfIsIncluded: arrayOfValues : comparator"></mat-option>
```
<!-- {% endraw %} -->
## Details
The pipe takes the provided value and checks if that value is included in the provided array and returns the appropriate boolean value.
## See also
- [File upload error pipe](./file-upload-error.pipe.md)