is_single_positive_whole_number: Test for a single positive whole number.

Description Usage Arguments Value

View source: R/internal.R

Description

Test for a single positive whole number.

Usage

1
is_single_positive_whole_number(n, tol = .Machine$double.eps^0.5)

Arguments

n

Test object.

tol

Numeric tolerance.

Value

TRUE if the object is a single positive whole number; FALSE otherwise.


gact/utl documentation built on June 1, 2021, 4:24 p.m.