Skip to contents

Return TRUE if the value is positive.

Usage

is_positive(x)

Arguments

x

A numeric vector

Value

A boolean vector with the return from the condition check.

Examples


is_positive(4)
#> [1] TRUE

is_positive(-4)
#> [1] FALSE