is.scalar {PvSTATEM}R Documentation

Check if a value is a scalar

Description

This will return FALSE for NULL and vectors of length bigger than 2.

Usage

is.scalar(x)

Arguments

x

Object to be checked.

Value

TRUE if the object is a scalar, FALSE otherwise.


[Package PvSTATEM version 0.1.3 Index]