Skip to content

valueOf beta ​

Function of @v12-engine/engine

ts
export declare function valueOf(context: EffectContext, value: EffectValue | undefined, target?: Entity, fallback?: number): number;

The value of an amount, a time or a size of an effect as it lands (EffectValue): at the context's level, or what its code says for the target (none for what is not for one: a zone's time, an area's size). fallback where it says nothing