Skip to contents

Convert object to a Terminator or a list of Terminator.

Usage

as_terminator(x, ...)

# S3 method for class 'Terminator'
as_terminator(x, clone = FALSE, ...)

as_terminators(x, ...)

# Default S3 method
as_terminators(x, ...)

# S3 method for class 'list'
as_terminators(x, ...)

Arguments

x

(any)
Object to convert.

...

(any)
Additional arguments.

clone

(logical(1))
If TRUE, ensures that the returned object is not the same as the input x.