is and isnot

The -is and -isnot operators test whether or not a value is of the specified type.

For example, each of the following returns true:

'string' -is [String] 
1 -is [Int32] 
[String] -is [Type] 
123 -isnot [String] 

The -is and -isnot operators are very useful for testing the exact type of a value without needing to use more complex methods.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.36.30