Super simple question I’m sure but I don’t do F# usually so a bit new to the syntax.
How do I read the following fragment of code:
match shape.Fill with
| :? PictureBrush as pb ->
//....
Specifically, I’m not sure what PictureBrush refers to. There’s not really any reference to it anywhere else in this file
This the Type Test Pattern.
PictureBrushis a type.shape.Fillmatches:? PictureBrushwhen theFillproperty is assignable to that type.