Skip to main content

builtin_constant

Function builtin_constant 

Source
pub fn builtin_constant(name: &str) -> Option<Value>
Expand description

Value of a GenApi built-in constant, if name denotes one.

The language defines E and PI as constants rather than variables, so a formula may reference them without a matching <pVariable>. Matching is case-insensitive, as in the reference implementation.