check_token: Check the Token

Description Usage Arguments Details Value Author(s)

View source: R/rice.R

Description

Checks the validity of the token.

Usage

1
check_token(token)

Arguments

token

a character vector of length 1 representing the outcomes of 5 rolls of a dice.

Details

The token is a 5-digit number representing the outcomes of 5 rolls of a 6-faced dice. The function returns TRUE if the token is correctly formatted and FALSE otherwise.

Value

TRUE if correctly formatted, FALSE otherwise.

Author(s)

Francois Michonneau


fmichonneau/riceware documentation built on Feb. 9, 2021, 2:59 p.m.