Skip to contents

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

Usage

tmr_is_titled(x)

Arguments

x

A hms_timer().

Value

A flag (TRUE or FALSE).

Examples

tmr_is_titled(tmr_timer())
#> [1] FALSE
tmr_is_titled(tmr_timer(title = "my timer"))
#> [1] TRUE