is_mixtime: Check if an object is a mixtime

View source: R/mixtime.R

is_mixtimeR Documentation

Check if an object is a mixtime

Description

Tests whether x inherits from the mixtime class.

Usage

is_mixtime(x)

Arguments

x

An object to test.

Value

A scalar logical: TRUE if x is a mixtime vector, FALSE otherwise.

See Also

as_mixtime() to coerce objects to mixtime, mixtime() to construct a mixtime.

Examples

is_mixtime(Sys.Date())
is_mixtime(mixtime(Sys.Date()))


mixtime documentation built on Nov. 18, 2026, 5:08 p.m.