tmr_is_started: Is hms Timer Started

View source: R/is-started.R

tmr_is_startedR Documentation

Is hms Timer Started

Description

Tests if a hms_timer() is started (as indicated by the presence of an attribute named start).

Usage

tmr_is_started(x)

Arguments

x

A hms_timer().

Value

A flag (TRUE or FALSE).

See Also

Other start_stop: tmr_elapsed(), tmr_is_stopped(), tmr_print(), tmr_reset(), tmr_start(), tmr_stop(), tmr_timer()

Examples

tmr <- tmr_timer(start = TRUE)
print(tmr_is_started(tmr))
tmr <- tmr_stop(tmr)
print(tmr_is_started(tmr))

hmstimer documentation built on Sept. 20, 2022, 9:11 a.m.