R/utilities.R
scalar_check.Rd
scalar_check() throws an error if x is not equal to a scalar value.
scalar_check()
x
scalar_check(x)
A scalar.
A scalar If no error is thrown during evaluation, then scalar_check() returns the x argument.