Utils

created:2019-07-29
author:Leandro (Cerberus1746) Benedet Garcia
panda_core_data.utils.check_if_valid_instance(an_object, the_type)

Check if an_object is a instance from the_type.

Parameters:
  • an_object (any) – source object.
  • the_type (type) – type object.
Raises:

PCDTypeError – if the type is not a instance or wrong type.