Checks if an object is a vector of one or more positive integer values.
chk_index(x, x_name = NULL)
vld_index(x)
An object.
A string of the name of object x or NULL.
The chk_
function throws an informative error if the test fails.
The vld_
function returns a flag indicating whether the test was met.
vld_index()
: Validate Index