R.utils (version 1.0.1)

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

Description

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

Usage

Assert$inherits(object, class, ...)

Arguments

object
Object to be checked.
class
Name of class.
...
Not used.

Value

  • Returns (invisibly) TRUE, or throws an exception.

synopsis

inherits.Assert(static, object, class, ...)

See Also

For more information see Assert.