as_pretty_dt | R Documentation |
Internal method used to print a selenider_session()
object. Designed to
be used with prettyunits::pretty_dt()
, prettyunits::pretty_ms()
and
prettyunits::pretty_sec()
.
as_pretty_dt(x)
## S3 method for class 'pretty_dt'
cli_format(x, style = NULL, ...)
x |
A string representing a difftime. |
style , ... |
Not used. |
An object of class pretty_dt
.
x <- as_pretty_dt(prettyunits::pretty_sec(10))
cli::cli_text("{.val x}")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.