← All docs
array_column() — internals
Compiler internals for array_column(): lowering path, type checks, and runtime helpers.
array_column() — internals
Where it lives
- Signature:
src/builtins/array/array_column.rs - Lowering:
src/codegen/lower_inst/builtins/arrays/column.rs:23 (lower_array_column) - Function symbol:
lower_array_column()
Lowering notes
- Lowers
array_column()by dispatching to the helper matching row value ownership.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function array_column(array $array, string $column_key): array
What the type checker enforces
- Arity: takes exactly 2 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/array/array_column.rs(eval_builtin!) - Dispatch hooks:
direct,values