Function: groupConstraintsByFeatureAndUnit()
function groupConstraintsByFeatureAndUnit(
constraints: readonly Readonly<{
feature: ContainerSizeFeature;
interval: FeatureInterval;
}>[]
): ReadonlyMap<
ContainerSizeFeature,
ReadonlyMap<
string,
Readonly<{
feature: ContainerSizeFeature;
interval: FeatureInterval;
}>[]
>
>;
Defined in: _internal/container-query-analysis.ts:179
Group constraints by feature then by unit.
Parametersโ
constraintsโ
readonly Readonly<{
feature: ContainerSizeFeature;
interval: FeatureInterval;
}>[]
Returnsโ
ReadonlyMap<ContainerSizeFeature, ReadonlyMap<string, Readonly<{
feature: ContainerSizeFeature;
interval: FeatureInterval;
}>[]>>