Learn R Programming

nanonext (version 0.5.4)

is_nul_byte: Is Nul Byte

Description

Is the object a nul byte.

Usage

is_nul_byte(x)

Value

Logical value TRUE or FALSE.

Arguments

x

an object.

Examples

Run this code
is_nul_byte(as.raw(0L))
is_nul_byte(raw(length = 1L))
is_nul_byte(writeBin("", con = raw()))

is_nul_byte(0L)
is_nul_byte(NULL)
is_nul_byte(NA)

Run the code above in your browser using DataLab