Type guard narrowing a SohlItem to one of the item kinds that carries a subType field, optionally requiring a specific sub-type value.
SohlItem
subType
The item to test.
Optional
When given, the item's system.subType must equal this value.
system.subType
true if item carries a subType field (and matches subType when supplied).
true
item
Type guard narrowing a
SohlItemto one of the item kinds that carries asubTypefield, optionally requiring a specific sub-type value.