is_count: Checks if an object is a positive integer.

View source: R/utils_testers.R

is_countR Documentation

Checks if an object is a positive integer.

Description

Checks if an object is a positive integer.

Usage

is_count(x)

Arguments

x

object to be tested.

Value

TRUE or FALSE depending on whether its argument is a positive integer or not.


szymanskir/rnbp documentation built on April 12, 2025, 8:51 p.m.