-
Notifications
You must be signed in to change notification settings - Fork 46
Operator
Øyvind Kallstad edited this page Sep 14, 2017
·
5 revisions
Comparison operators are used to compare values and test conditions.
List of comparison operators:
-as
-is
-isnot
-in
-notin
-[(c|i)]eq
-[(c|i)]ne
-[(c|i)]gt
-[(c|i)]lt
-[(c|i)]ge
-[(c|i)]le
-[(c|i)]like
-[(c|i)]notlike
-[(c|i)]contains
-[(c|i)]notcontains
-[(c|i)]match
-[(c|i)]notmatch
The following scope are assigned to comparison operators:
- keyword.operator.comparison
List of bitwise operators:
-bAND
-bOR
-bXOR
-bNOT
-shl
-shr
The following scope are assigned to bitwise operators:
- keyword.operator.bitwise
List of logical operators:
-and
-or
-xor
The following scope are assigned to logical operators:
- keyword.operator.logical
List of format operators:
-f
The following scope are assigned to format operators:
- keyword.operator.format
List of assignment operators:
=
-=
+=
*=
\=
The following scope are assigned to assignment operators:
- keyword.operator.assignment
Use
- Prerequisites
- Workflow
- Tests
- Comment
- String
- Numeric constant
- Type
- Function
- Command (Cmdlet)
- Class
- Enum
- Switch
- Array
- Hashtable
- Subexpression
- Control
- Variable
- Operator