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.

テキスト

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_2024_associationq, author="Wolfram Research", title="{AssociationQ}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AssociationQ.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_associationq, organization={Wolfram Research}, title={AssociationQ}, year={2015}, url={https://reference.wolfram.com/language/ref/AssociationQ.html}, note=[Accessed: 21-November-2024 ]}