is.valid_device: Determine whether or not a given device name is valid

Description Usage Arguments Value Note Examples

Description

Valid device names are strings up to 25 characters long and can include letters, numbers, _, and -.

Usage

1

Arguments

device

one or more device names (e.g., "phone", c("phone", "tablet"))

Value

Logical value(s) indicating whether the corresponding device name is valid (TRUE) or not (FALSE)

Note

is.valid_device only determines whether a device name is valid. It does not determine whether that device is actually registered (see: is.device).

Examples

1
is.valid_device("my_phone")

pushoverr documentation built on May 2, 2019, 3:28 p.m.