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