Qurak

PermutationListQ

Verfügbar

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

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

Themen

Verwandt

Alle 6300 Funktionen · Dies aus einem MCP-Client verwenden