Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
type alias CalcFor_DimensionPercentageFor_Angle
import { type CalcFor_DimensionPercentageFor_Angle } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

A mathematical expression used within the calc() function.

This type supports generic value types. Values such as Length, Percentage, Time, and Angle support calc() expressions.

definition:
| { type: "value"; value: DimensionPercentageFor_Angle; }
| { type: "number"; value: number; }
| { type: "product"; value: [number, CalcFor_DimensionPercentageFor_Angle]; }
| { type: "function"; value: MathFunctionFor_DimensionPercentageFor_Angle; }