all_pos_ints: Check whether all arguments are positive integers

View source: R/argumentChecks.R

all_pos_intsR Documentation

Check whether all arguments are positive integers

Description

all_pos_ints checks whether all the elements in a vector are positive integers.

Usage

all_pos_ints(x)

Arguments

x

a vector containing the elements to be tested.

Value

Returns TRUE or FALSE accordingly.


saviviro/gmvarkit documentation built on March 8, 2024, 4:15 a.m.