Function erg_compiler::ty::constructors::value

source ·
pub fn value<V: Into<ValueObj>>(v: V) -> TyParam
Expand description

NOTE: Always add postfix when entering numbers. For example, value(1) will be of type Int.