is_natural: Check that bases are natural numbers

Description Usage

View source: R/01.3-checks.R

Description

Check that bases are natural numbers (whole number greater than 0). From integer docs and SO: https://stackoverflow.com/a/4562291

Usage

1
is_natural(x, tol = .Machine$double.eps^0.5)

jessesadler/debvctrs documentation built on June 14, 2021, 6:36 a.m.