Learn R Programming

R.utils (version 2.0.2)

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 class '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.