isWellDefined w
isWellDefined(w)
isWellDefined p determines if p is a valid permutation. Permutations must be constructed from lists consisting of only the integers $1 \textemdash n$. If a list contains any other elements or does not consist of the entire range, then an error is thrown.
|
|
|