as_callback {mlr3misc} | R Documentation |
Convert object to a Callback or a list of Callback.
as_callback(x, ...)
## S3 method for class 'Callback'
as_callback(x, clone = FALSE, ...)
as_callbacks(x, clone = FALSE, ...)
## S3 method for class ''NULL''
as_callbacks(x, ...)
## S3 method for class 'list'
as_callbacks(x, clone = FALSE, ...)
## S3 method for class 'Callback'
as_callbacks(x, clone = FALSE, ...)
x |
(any) |
... |
(any) |
clone |
( |