is_binary: Does a numeric object consist of only zeros and ones?

View source: R/utils_internal.R

is_binaryR Documentation

Does a numeric object consist of only zeros and ones?

Description

Does a numeric object consist of only zeros and ones?

Usage

is_binary(x)

Arguments

x

a numeric object

Value

a logical value


MicroMoB documentation built on Jan. 17, 2023, 9:06 a.m.