Assert$inheritsFrom

0th

Percentile

Static method asserting that an object inherits from of a certain class

Static method asserting that an object inherits from of a certain class.

Keywords
methods, internal
Usage
## Static method (use this):
## Assert$inheritsFrom(object, class, ...)

## Don't use the below: # S3 method for Assert inheritsFrom(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.

Aliases
  • Assert$inheritsFrom
  • inheritsFrom.Assert
  • Assert.inheritsFrom
  • inheritsFrom,Assert-method
  • inheritsFrom
  • Assert.inherits
  • inherits.Assert
  • inherits,Assert-method
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.