API Reference#
A check function performs a simple validation on a single input variable,
raises an error if the check fails, and otherwise returns the input unchanged,
typed as what the check established, so a check can be used inline. A
validate function accepts many different input types or values, applies
optional constraints, and standardizes the output as a single representation
with known properties.
Every function is importable directly from the top-level package, for example
from pyvista_validation import validate_array.