Skip to content

Commit 725d1cc

Browse files
KirkMunrosdwheeler
authored andcommitted
Add -is & -isnot to type comparison operators (#4891)
* Add `-is` & `-isnot` to type comparison operators * add other version updates * remove v7 update (will be in another PR) * remove unplanned change
1 parent 18985d0 commit 725d1cc

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

reference/3.0/Microsoft.PowerShell.Core/About/about_Operators.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ expressions, and (`-like`, `-notlike`) use wildcards `*`.
5252
Containment comparison operators determine whether a test value appears in a
5353
reference set (`-in`, `-notin`, `-contains`, `-notcontains`).
5454

55+
Type comparison operators (`-is`, `-isnot`) determine whether an object is
56+
of a given type.
57+
5558
Bitwise comparison operators (`-bAND`, `-bOR`, `-bXOR`, `-bNOT`) manipulate
5659
the bit patterns in values.
5760

reference/4.0/Microsoft.PowerShell.Core/About/about_Operators.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ expressions, and (`-like`, `-notlike`) use wildcards `*`.
5252
Containment comparison operators determine whether a test value appears in a
5353
reference set (`-in`, `-notin`, `-contains`, `-notcontains`).
5454

55+
Type comparison operators (`-is`, `-isnot`) determine whether an object is
56+
of a given type.
57+
5558
Bitwise comparison operators (`-bAND`, `-bOR`, `-bXOR`, `-bNOT`) manipulate
5659
the bit patterns in values.
5760

reference/5.0/Microsoft.PowerShell.Core/About/about_Operators.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ expressions, and (`-like`, `-notlike`) use wildcards `*`.
5252
Containment comparison operators determine whether a test value appears in a
5353
reference set (`-in`, `-notin`, `-contains`, `-notcontains`).
5454

55+
Type comparison operators (`-is`, `-isnot`) determine whether an object is
56+
of a given type.
57+
5558
Bitwise comparison operators (`-bAND`, `-bOR`, `-bXOR`, `-bNOT`) manipulate
5659
the bit patterns in values.
5760

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ expressions, and (`-like`, `-notlike`) use wildcards `*`.
5252
Containment comparison operators determine whether a test value appears in a
5353
reference set (`-in`, `-notin`, `-contains`, `-notcontains`).
5454

55+
Type comparison operators (`-is`, `-isnot`) determine whether an object is
56+
of a given type.
57+
5558
Bitwise comparison operators (`-bAND`, `-bOR`, `-bXOR`, `-bNOT`) manipulate
5659
the bit patterns in values.
5760

reference/6/Microsoft.PowerShell.Core/About/about_Operators.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ expressions, and (`-like`, `-notlike`) use wildcards `*`.
5151
Containment comparison operators determine whether a test value appears in a
5252
reference set (`-in`, `-notin`, `-contains`, `-notcontains`).
5353

54+
Type comparison operators (`-is`, `-isnot`) determine whether an object is
55+
of a given type.
56+
5457
Bitwise comparison operators (`-bAND`, `-bOR`, `-bXOR`, `-bNOT`) manipulate
5558
the bit patterns in values.
5659

0 commit comments

Comments
 (0)