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.
pub fn value<V: Into<ValueObj>>(v: V) -> TyParam
NOTE: Always add postfix when entering numbers. For example, value(1)
will be of type Int.