are_args_scalar {hdf5r}R Documentation

Can arguments be interpreted as a scalar?

Description

Can arguments be interpreted as a scalar?

Usage

are_args_scalar(args)

Arguments

args

The arguments to check

Details

Check if there is only one argument and if it is either empty of of length 1 with value 1, i.e. can be interpreted as a scalar.

Value

Logical if the arguments can be interpreted as a scalar

Author(s)

Holger Hoefling


[Package hdf5r version 1.3.12 Index]