areSizeConstraintsCompatible

fun CollectionItem<*>.areSizeConstraintsCompatible(constraints: SizeConstraints): Boolean

Checks if the provided size constraints are compatible with this CollectionItem's current size constraints and measured size.

Return

true if the constraints are compatible with this item's size and constraints, false otherwise

Parameters

constraints

The size constraints to compare against this item's constraints