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 客户端使用