Qurak

PermutationListQ

可用

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

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

主題

相關

全部 6300 個函式 · 從 MCP 用戶端使用這個