isOfType method

bool isOfType(
  1. CommonOverlayId overlayId
)

Check if the overlay is of the given type.

Parameters

  • IN overlayId The overlay type you want to check

Returns

  • True if the overlay is of the given type, false otherwise

Implementation

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