are_args_scalar: Can arguments be interpreted as a scalar?

View source: R/high_level_UI.R

are_args_scalarR 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


hdf5r documentation built on Jan. 22, 2023, 1:12 a.m.