is_positive_number: Is positive number

View source: R/1_assertions.R

is_positive_numberR Documentation

Is positive number

Description

Is positive number

Usage

is_positive_number(x, .xname = get_name_in_parent(x))

assert_positive_number(x, .xname = get_name_in_parent(x))

is_weakly_positive_number(x, .xname = get_name_in_parent(x))

assert_weakly_positive_number(x, .xname = get_name_in_parent(x))

Arguments

x

number

.xname

name of x

Value

TRUE or false

Examples

is_positive_number( 3)
is_positive_number(-3)
is_positive_number( 0)
is_weakly_positive_number(0)
assert_positive_number(3)

bhagwataditya/importomics documentation built on July 11, 2024, 11:26 a.m.