Module array_methods

Module array_methods 

Source
Expand description

Array method implementations for GENT

This module provides built-in methods for array values, including length, push, pop, indexOf, join, slice, concat. Also includes higher-order methods: map, filter, reduce, find.

Functionsยง

call_array_method
Call a method on an array value (non-lambda methods only)
call_array_method_with_callback
Call a higher-order array method that takes a lambda/function callback
is_callback_method
Check if method requires a callback (for dispatch routing)