R/device.R
is_device.Rd
Test whether an object is a device
is_device(x)
An object to test.
(logical(1)) Whether x is a device of one of the backends.
logical(1)
x