Skip to main content

Any.has_warnings

has_warningswarning_type

Group: Errors

Documentation

Checks if any warnings (either all or of a specified type) are attached to the value.

Arguments

  • warning_type: The type to check if attached to the value. Defaults to any warning.