requestConfirmation

Requests a text confirmation from the user.

bool
requestConfirmation
()
in { assert (requestMsg !is null); assert (requiredAnswer !is null); }

Return Value

Type: bool

whether or not the user input, stripped of line terminators, exactly matches requiredAnswer.

Meta