Learn R Programming

R.utils (version 2.6.0)

Assert$isScalar: Static method asserting thatan object is a single value

Description

Static method asserting thatan object is a single value.

Usage

## Static method (use this):
## Assert$isScalar(x, ...)

## Don't use the below: # S3 method for Assert isScalar(static, x, ...)

Arguments

x

Object to be checked.

...

Not used.

Value

Returns (invisibly) TRUE, or throws an exception.

See Also

For more information see Assert.