February 2019
Intermediate to advanced
626 pages
15h 51m
English
The -contains, -notcontains, -in, and -notin operators are used to test the content of arrays.
When using -contains or -notcontains, the array is expected to be on the left-hand side of the operator:
1, 2 -contains 2 # Returns true 1, 2, 3 -contains 4 # Returns false
When using -in or -notin, the array is expected to be on the right-hand side of the operator:
1 -in 1, 2, 3 # Returns true 4 -in 1, 2, 3 # Returns false
Read now
Unlock full access