isOfType method

bool isOfType(
  1. CommonOverlayId overlayId
)

Check whether this item belongs to the specified predefined overlay type.

Parameters

Returns

  • True when the item's overlayUid matches overlayId.id.

Implementation

bool isOfType(CommonOverlayId overlayId) {
  return overlayUid == overlayId.id;
}