AnyMatch
例題
すべて開く すべて閉じる例 (4)
リストの任意の要素がパターンにマッチするかどうかを検証する:
AnyMatchの演算子形を使う:
スコープ (4)
特性と関係 (6)
AnyMatch[list,form]は!NoneMatch[list,form]に等しい:
AnyMatch[list,form]は疎なベクトルに効率的に作用する:
AnyMatch[list,form]は list の各部分を順にチェックし,form がマッチしなくなると停止する:
AnyMatch[list,form]はAnyTrue[list,MatchQ[form]]に等しい:
AnyMatch[{e1,e2,…},form]はOr[MatchQ[e1,form],MatchQ[e2,form],…]に等しい:
AnyMatch[list,e1|e2|…]はContainsAny[list,{e1,e2,…}]に等しい:
考えられる問題 (1)
AnyMatchは,連想に関しては値しか検証しない:
テキスト
Wolfram Research (2024), AnyMatch, Wolfram言語関数, https://reference.wolfram.com/language/ref/AnyMatch.html.
CMS
Wolfram Language. 2024. "AnyMatch." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AnyMatch.html.
APA
Wolfram Language. (2024). AnyMatch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AnyMatch.html
BibTeX
@misc{reference.wolfram_2025_anymatch, author="Wolfram Research", title="{AnyMatch}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/AnyMatch.html}", note=[Accessed: 15-September-2025]}
BibLaTeX
@online{reference.wolfram_2025_anymatch, organization={Wolfram Research}, title={AnyMatch}, year={2024}, url={https://reference.wolfram.com/language/ref/AnyMatch.html}, note=[Accessed: 15-September-2025]}