Method in macro · Expr compiler

Expr::float

pub fn float() -> Option<float>
Import
use macro::{Expr};
Source: compiler/src/prelude/macro.hy

The value of a float constant (2.5, -1.0e3), or of an integer one.

Called on a Expr value as value.float(…).

Returns#

Option<float>

See also#

↑ ↓ navigate ↵ open