Skip to contents

Test Whether an Object Is a Device

Usage

is_device(x)

Arguments

x

An object to test.

Value

(logical(1))
Whether x is a device of one of the backends.