check_token: Check the Token

Description Usage Arguments Details Value Author(s)

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


riceware documentation built on May 2, 2019, 3:42 p.m.