PermutationQ

PermutationQ[p]
yields True if is a list representing a permutation and False otherwise.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »