check_token {riceware}R Documentation

Check the Token

Description

Checks the validity of the token.

Usage

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


[Package riceware version 0.4 Index]