grapes-is-grapes: Binary operator which acts as a wrapper for 'inherits'.

Description Usage Arguments Value

Description

Binary operator which acts as a wrapper for inherits.

Usage

1
object %is% class2

Arguments

object

[any]
A R object.

class2

[character(1)]
A character vector naming the class.

Value

[logical(1)] Returns TRUE if object is of the corresponding class and FALSE otherwise.


jakobbossek/JBmisc documentation built on May 17, 2017, 7:43 a.m.