pyvista.core._validation.check#
Functions that check the type and/or value of inputs.
Added in version 0.43.0.
A check
function typically:
Performs a simple validation on a single input variable.
Raises an error if the check fails due to invalid input.
Does not modify input or return anything.
Functions
|
Check if an item is in a container. |
|
Check if an array has finite values, i.e. no NaN or Inf values. |
|
Check if an array's elements are all greater than some value. |
|
Check if an object is an instance of the given type or types. |
|
Check if an array has integer or integer-like float values. |
|
Check if an object is an instance of |
|
Check if an iterable's items all have a specified type. |
|
Check if the length of an array meets specific requirements. |
|
Check if an array's elements are all less than some value. |
|
Check if an array has the specified number of dimensions. |
|
Check if an array's elements are all nonnegative. |
|
Check if an object is an instance of |
|
Check if an array's values are all within a specific range. |
|
Check if an array has real numbers, i.e. float or integer type. |
|
Check if an object is an instance of |
|
Check if an array has the specified shape. |
|
Check if an array's values are sorted. |
|
Check if an object is an instance of |
|
Check if an input's data-type is a subtype of another data-type(s). |
|
Check if an object is one of the given type or types. |