SecureWallet.correct

Checks that the answers to the question is correct

struct SecureWallet(Net : SecureNet)
bool
correct
(
const(string[]) questions
,
const(char[][]) answers
)
in (questions.length is answers.length, "Amount of questions should be same as answers")

Parameters

questions const(string[])

List of questions

answers const(char[][])

List of answers

Return Value

Type: bool

True of N=confidence number of answers is correct