Learn R Programming

pushoverr (version 1.0.0)

is.valid_receipt: Determine whether or not a given message receipt is valid

Description

Receipts are 30-character strings containing letters and numbers ([A-Za-z0-9])

Usage

is.valid_receipt(receipt)

Arguments

receipt

A message receipt (e.g., "KAWXTswy4cekx6vZbHBKbCKk1c1fdf")

Value

A boolean value for each given message receipt ID indicating whether that receipt ID is valid (TRUE) or not (FALSE)

Details

is.valid_receipt determines whether or not a given message receipt is valid or not according to Pushover's specifications. It does not determine whether or not the given receipt actually exists.

Examples

Run this code
# NOT RUN {
is.valid_receipt(receipt = "KAWXTswy4cekx6vZbHBKbCKk1c1fdf")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab