AssociationQ[expr]
expr が有効なAssociationオブジェクトの場合はTrueを,それ以外の場合はFalse を与える.
AssociationQ
AssociationQ[expr]
expr が有効なAssociationオブジェクトの場合はTrueを,それ以外の場合はFalse を与える.
例題
例 (2)
規則から構築されたAssociationは,有効なオブジェクトを与える:
有効なAssociationオブジェクトからは,キーが与えられた場合に値の抽出ができる:
引数が規則ではない場合は,Associationは未評価のままにされる:
有効ではないAssociationには,特別な特性はない:
関連項目
関連するガイド
-
▪
- 連想
関連リンク
テキスト
Wolfram Research (2015), AssociationQ, Wolfram言語関数, https://reference.wolfram.com/language/ref/AssociationQ.html.
CMS
Wolfram Language. 2015. "AssociationQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AssociationQ.html.
APA
Wolfram Language. (2015). AssociationQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AssociationQ.html
BibTeX
@misc{reference.wolfram_2025_associationq, author="Wolfram Research", title="{AssociationQ}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AssociationQ.html}", note=[Accessed: 10-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_associationq, organization={Wolfram Research}, title={AssociationQ}, year={2015}, url={https://reference.wolfram.com/language/ref/AssociationQ.html}, note=[Accessed: 10-April-2026]}