Skip to content

Profectus / game/formulas/types / GeneralFormulaOptions

Type Alias: GeneralFormulaOptions<T> ​

GeneralFormulaOptions<T>: object

Type Parameters ​

• T extends [FormulaSource] | FormulaSource[]

Type declaration ​

applySubstitution? ​

optional applySubstitution: SubstitutionFunction<T>

description? ​

optional description: string

evaluate ​

evaluate: EvaluateFunction<T>

inputs ​

inputs: T

integrate? ​

optional integrate: IntegrateFunction<T>

integrateInner? ​

optional integrateInner: IntegrateFunction<T>

invert? ​

optional invert: InvertFunction<T>

Defined in ​

profectus/src/game/formulas/types.d.ts:48