Qurak

PermutationListQ

Disponível

Tests whether a list represents a permutation of `{1, …, n}`.

PermutationListQ[expr]
PermutationListQ[{3, 1, 2}] → TruePermutationListQ[{1, 2, 2}] → False

Tópicos

Relacionados

Todas as 6300 funções · Usar isto de um cliente MCP