pub fn convert(value: impl Into<Any>) -> Result<PrimExpr>Expand description
Convert value into a primitive expression: a Rust bool, integer or float becomes a constant
of the default type, and a primitive expression is returned as is (prim.convert).
ยงErrors
Returns a TypeError if value is not a primitive expression or a literal.