E7008 Stdlib Validation Errors

requires-boolean

argument must be a boolean

When this occurs

Non-boolean where boolean needed

Example error message

error[E7008]: expected boolean, got STRING

How to fix

Pass a boolean (`true` or `false`) to this function.

Related errors