generic_check_isinstance#

pybrops.core.error.error_generic_python.generic_check_isinstance(v, vname, vtype)[source]#

Generic check type function.

Parameters:
  • v (object) – Reference to object variable.

  • vname (str) – Name associated with the object variable.

  • vtype (type, tuple) – type : Type associated with the object variable. tuple : Tuple of acceptable types (logical or) for the object variable.

Return type:

None