← All docs
stream_is_local() — internals
Compiler internals for stream_is_local(): lowering path, type checks, and runtime helpers.
stream_is_local() — internals
Where it lives
- Signature:
src/builtins/io/stream_is_local.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2101 (lower_stream_is_local) - Function symbol:
lower_stream_is_local()
Lowering notes
- Lowers
stream_is_local(stream)as a true predicate after evaluating its argument.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function stream_is_local(resource $stream): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/string/stream_is_local.rs(eval_builtin!) - Dispatch hooks:
direct,values