mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [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
29 lines
655 B
Markdown
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)
|