E7006 Stdlib Validation Errors

requires-function

argument must be a function

When this occurs

Non-function callback

Example error message

error[E7006]: arrays.map() requires a function

How to fix

Pass a function reference to this function.

Related errors