WLJS LogoWLJS Notebook

PermutationListQ

PermutationListQ[expr] returns True if expr is a valid permutation list and False otherwise.

Examples

PermutationListQ[{2, 3, 1}]
PermutationListQ[{1, 2, 4}]

Please visit the official Wolfram Language Reference for more details.

On this page