Assert$inherits
From R.utils v2.6.0
by Henrik Bengtsson
Static method asserting that an object inherits from of a certain class
Static method asserting that an object inherits from of a certain class.
Usage
## Static method (use this):
## Assert$inherits(object, class, ...)## Don't use the below:
# S3 method for Assert
inherits(static, object, class, ...)
Arguments
- object
Object to be checked.
- class
Name of class.
- ...
Not used.
Value
Returns (invisibly) TRUE
, or throws an exception.
See Also
For more information see Assert
.
Community examples
Looks like there are no examples yet.