Learn R Programming

pushoverr (version 0.1.4)

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

Description

is.valid_device determines whether or not a given device name is valid or not according to Pushover's specifications. It does not determine whether or not the given device is registered to a user.

Usage

is.valid_device(device)

Arguments

device
A device name (e.g., 'phone')

Value

A boolean value indicating if the device name is valid (TRUE) or not (FALSE)

Examples

Run this code
## Not run: 
# is.valid_device(device='phone')
# ## End(Not run)

Run the code above in your browser using DataLab