Skip to contents

Return TRUE if the value is equal to zero.

Usage

is_zero(x)

Arguments

x

A numeric vector

Value

A boolean vector with the return from the condition check.

Examples


is_zero(4)
#> [1] FALSE

is_zero(0)
#> [1] TRUE