Checks if the given shape type matches the expected type.
the type of the shape
the expected type
true if the given shape type is of the expected shape type, false otherwise
var polygon = new ...ShapeType.contains(polygon.type, ShapeType.POLYGON); //true Copy
var polygon = new ...ShapeType.contains(polygon.type, ShapeType.POLYGON); //true
Checks if the given shape type matches the expected type.