TypstDocumentation

pow

Raise a value to some exponent.

Example

#calc.pow(2, 3)
Preview

Parameters
Question mark

base
integerfloatRequiredPositional
Question mark

The base of the power.

exponent
integerfloatRequiredPositional
Question mark

The exponent of the power. Must be non-negative.