pub async fn map( exec_state: &mut ExecState, args: Args, ) -> Result<KclValue, KclError>
Apply a function to each element of an array.