Checks if the given shape is a variant container.
The shape to check.
Returns true if the shape is a variant container, otherwise false.
Checks if the given component is a VariantComponent.
The component to check.
Returns true if the component is a VariantComponent, otherwise false.
Utility methods for determining the types of Penpot shapes.
Example