Mojo function
map
map[origins: origin.set, //, func: fn(Int) capturing -> None](size: Int)
Maps a function over a range from 0 to size.
Parameters:
- origins (
origin.set
): The capture origins. - 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!