Learn R Programming

pushoverr (version 1.0.0)

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

Description

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

Usage

is.valid_device(device)

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)

Examples

Run this code
# NOT RUN {
is.valid_device("my_phone")

# }

Run the code above in your browser using DataLab