Mojo 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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
😔 What went wrong?