foreach

fun foreach(func: Func)

Calls @func for each item in the sequence passing @user_data to the function. @func must not modify the sequence itself.

Since

2.14

Parameters

func

the function to call for each item in @seq