Assert$isVector

0th

Percentile

Static method asserting that an object is a vector

Static method asserting that an object is a vector.

Keywords
methods, internal
Usage
## Static method (use this):
## Assert$isVector(x, length=NULL, ...)

## Don't use the below: # S3 method for Assert isVector(static, x, length=NULL, ...)

Arguments
x

Object to be checked.

length

Required length. If NULL, this is not checked.

...

Not used.

Value

Returns (invisibly) TRUE, or throws an exception.

See Also

For more information see Assert.

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

Community examples

Looks like there are no examples yet.