mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
* [ACS-4986] SearchChipsAutocompleteComponent - minimal state * [ACS-4986] refactored components * [ACS-4986] documentation * [ACS-4986] i18n * [ACS-4986] versionIndex.md * [ACS-4986] unit tests * [ACS-4986] replaced function calls on pipe * [ACS-4986] linting * [ACS-4986] slight correction * [ACS-4986] missing types * [ACS-4986] space * [ACS-4986] moved pipe + docs & tests * [ACS-4986] changed pipe type * [ACS-4986] versionIndex.md * [ACS-4986] removed 'important' in styles * [ACS-4986] fixed code smell * [ACS-4986] linting
29 lines
641 B
Markdown
29 lines
641 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"</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)
|