CADETProcess.dataStructure.parameter.Sized.check_size#
- Sized.check_size(instance, value)[source]#
Validate that the provided value’s size matches the expected size.
- Parameters:
- instanceobject
The instance associated with the parameter.
- valueAny
The value whose size needs to be validated.
- Raises:
- ValueError
If the value’s size does not match the expected size.