← All docs
is_float() — internals
Compiler internals for is_float(): lowering path, type checks, and runtime helpers.
is_float() — internals
Where it lives
- Signature:
src/builtins/types/is_float.rs - Lowering:
src/codegen/lower_inst/builtins.rs:1354 (lower_static_type_predicate) - Function symbol:
lower_static_type_predicate()
Lowering notes
- Lowers a static
is_*predicate for concrete non-Mixed values.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function is_float(mixed $value): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/types/is_float.rs(eval_builtin!) - Dispatch hooks:
direct,values