Function const_left

Source
pub fn const_left(value: Value, ty_right: impl Into<TypeRowRV>) -> Value
Expand description

A constant Either value with a left variant.

In fallible computations, this represents a failure.

See either_type.