KeyMemberQ

KeyMemberQ[assoc,form]

連想 assoc 中のキーが form にマッチする場合はTrueを,それ以外の場合はFalseを与える.

KeyMemberQ[form]

式に適用可能なKeyMemberQの演算子形を表す.

例題

  (4)

"x"が連想中のキーかどうかの検定を行う:

連想が文字列キーを含むかどうかの検定を行う:

KeyMemberQは規則のリストに使うことができる:

どの連想がキーを含まないかを判断する:

Wolfram Research (2015), KeyMemberQ, Wolfram言語関数, https://reference.wolfram.com/language/ref/KeyMemberQ.html.

テキスト

Wolfram Research (2015), KeyMemberQ, Wolfram言語関数, https://reference.wolfram.com/language/ref/KeyMemberQ.html.

CMS

Wolfram Language. 2015. "KeyMemberQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KeyMemberQ.html.

APA

Wolfram Language. (2015). KeyMemberQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KeyMemberQ.html

BibTeX

@misc{reference.wolfram_2024_keymemberq, author="Wolfram Research", title="{KeyMemberQ}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/KeyMemberQ.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

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