Throws unless value is one of allowed: a string flag such as trans, uplo or layout.
value
allowed
trans
uplo
layout
the argument's name, for the message
the two accepted values
"<name> must be '<a>' or '<b>'."
Throws unless
valueis one ofallowed: a string flag such astrans,uploorlayout.