MoleculeQ

MoleculeQ[mol]

如果 mol 是一个有效的 Molecule 表达式就返回 True,否则返回 False.

范例

基本范例  (3)

测试一个表达式是否为有效的 Molecule 表达式:

对于有不正确价态的分子,将发出错误消息,但 MoleculeQ 的值依然为真:

向氧原子添加一个正电荷将修正错误:

使用无效的键类型将使 MoleculeQ 的值为假:

Wolfram Research (2019),MoleculeQ,Wolfram 语言函数,https://reference.wolfram.com/language/ref/MoleculeQ.html.

文本

Wolfram Research (2019),MoleculeQ,Wolfram 语言函数,https://reference.wolfram.com/language/ref/MoleculeQ.html.

CMS

Wolfram 语言. 2019. "MoleculeQ." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/MoleculeQ.html.

APA

Wolfram 语言. (2019). MoleculeQ. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/MoleculeQ.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_moleculeq, organization={Wolfram Research}, title={MoleculeQ}, year={2019}, url={https://reference.wolfram.com/language/ref/MoleculeQ.html}, note=[Accessed: 22-November-2024 ]}