function
map
map[func: fn(Int, /) capturing -> None](size: Int)
Maps a function over a range from 0 to size.
Parameters:
- func (
fn(Int, /) capturing -> None
): Function to map.
Args:
- size (
Int
): The number of elements.
function
map[func: fn(Int, /) capturing -> None](size: Int)
Maps a function over a range from 0 to size.
Parameters:
fn(Int, /) capturing -> None
): Function to map.Args:
Int
): The number of elements.