Convert object to a Callback or a list of Callback.
as_callback(x, ...)# S3 method for Callback
as_callback(x, clone = FALSE, ...)
as_callbacks(x, clone = FALSE, ...)
# S3 method for list
as_callbacks(x, clone = FALSE, ...)
# S3 method for Callback
as_callbacks(x, clone = FALSE, ...)
Callback.
(any)
Object to convert.
(any)
Additional arguments.
(logical(1)
)
If TRUE
, ensures that the returned object is not the same as the input x
.