deb_is_tetra: Test if an object is of class 'deb_tetra'

View source: R/tetra-class.R

deb_is_tetraR Documentation

Test if an object is of class deb_tetra

Description

Test if an object is of class deb_tetra.

Usage

deb_is_tetra(x)

Arguments

x

An object.

Value

TRUE if object is of class deb_tetra and FALSE if it is not.

Examples

x <- deb_tetra(5, 3, 8, 2)
y <- c(5, 3, 8, 2)

deb_is_tetra(x)
deb_is_tetra(y)

debkeepr documentation built on April 1, 2023, midnight