July 2018
Beginner
552 pages
13h 18m
English
Type operators can be used to validate types for .NET objects. It is important that you understand that objects of different types can behave differently. You will need to know how to identify and validate the types, especially in large and complex scripts:
|
Operator
|
Meaning
|
Description
|
|
-is
|
Compare types
|
Validates if the type of the object on the left is the same as the one on the right. |
|
-isNot
|
Compare types (inverted)
|
Validates if the type of the object on the left is not the same as the one on the right. |
|
-as
|
Cast
|
Converts the object on the left to the specified type. |
|
.getType()
|
Show type
|
Shows the .NET Function for every object. Retrieves the type of the object. |
Some examples ...
Read now
Unlock full access