Skip to main content

max_value

Function max_value 

Source
pub fn max_value(ty: impl IntoArg<PrimType>) -> Result<PrimExpr>
Expand description

Create the largest value of the scalar type ty.

ยงErrors

Returns an InternalError if ty is a vector or has no largest value.