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クライアントから使う