Skip to content

Commit 1920905

Browse files
Add missing containment operators to list
This adds the missing -iin, -cin, -inotin and -incnot operators to the list in about_Comparison_Operators.
1 parent 328af83 commit 1920905

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the operators that compare values in PowerShell.
33
Locale: en-US
4-
ms.date: 06/06/2024
4+
ms.date: 01/19/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-5.1&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Comparison_Operators
@@ -44,8 +44,8 @@ specified patterns. PowerShell includes the following comparison operators:
4444
- `-contains`, `-icontains`, `-ccontains` - collection contains a value
4545
- `-notcontains`, `-inotcontains`, `-cnotcontains` - collection doesn't
4646
contain a value
47-
- `-in` - value is in a collection
48-
- `-notin` - value isn't in a collection
47+
- `-in`, `-iin`, `-cin` - value is in a collection
48+
- `-notin`, `-inotin`, `-cnotin` - value isn't in a collection
4949

5050
**Type**
5151

reference/7.4/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the operators that compare values in PowerShell.
33
Locale: en-US
4-
ms.date: 06/06/2024
4+
ms.date: 01/19/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.4&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Comparison_Operators
@@ -44,8 +44,8 @@ specified patterns. PowerShell includes the following comparison operators:
4444
- `-contains`, `-icontains`, `-ccontains` - collection contains a value
4545
- `-notcontains`, `-inotcontains`, `-cnotcontains` - collection doesn't
4646
contain a value
47-
- `-in` - value is in a collection
48-
- `-notin` - value isn't in a collection
47+
- `-in`, `-iin`, `-cin` - value is in a collection
48+
- `-notin`, `-inotin`, `-cnotin` - value isn't in a collection
4949

5050
**Type**
5151

reference/7.5/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the operators that compare values in PowerShell.
33
Locale: en-US
4-
ms.date: 06/06/2024
4+
ms.date: 01/19/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.5&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Comparison_Operators
@@ -44,8 +44,8 @@ specified patterns. PowerShell includes the following comparison operators:
4444
- `-contains`, `-icontains`, `-ccontains` - collection contains a value
4545
- `-notcontains`, `-inotcontains`, `-cnotcontains` - collection doesn't
4646
contain a value
47-
- `-in` - value is in a collection
48-
- `-notin` - value isn't in a collection
47+
- `-in`, `-iin`, `-cin` - value is in a collection
48+
- `-notin`, `-inotin`, `-cnotin` - value isn't in a collection
4949

5050
**Type**
5151

reference/7.6/Microsoft.PowerShell.Core/About/about_Comparison_Operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the operators that compare values in PowerShell.
33
Locale: en-US
4-
ms.date: 06/06/2024
4+
ms.date: 01/19/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.6&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Comparison_Operators
@@ -44,8 +44,8 @@ specified patterns. PowerShell includes the following comparison operators:
4444
- `-contains`, `-icontains`, `-ccontains` - collection contains a value
4545
- `-notcontains`, `-inotcontains`, `-cnotcontains` - collection doesn't
4646
contain a value
47-
- `-in` - value is in a collection
48-
- `-notin` - value isn't in a collection
47+
- `-in`, `-iin`, `-cin` - value is in a collection
48+
- `-notin`, `-inotin`, `-cnotin` - value isn't in a collection
4949

5050
**Type**
5151

0 commit comments

Comments
 (0)