NameQ

NameQ["string"]

yields True if there are any symbols whose names match the string pattern given, and yields False otherwise.

Details

Examples

Basic Examples  (2)

Test whether a string corresponds to a Symbol:

Test whether there are any symbols corresponding to a class of strings:

Wolfram Research (1988), NameQ, Wolfram Language function, https://reference.wolfram.com/language/ref/NameQ.html.

Text

Wolfram Research (1988), NameQ, Wolfram Language function, https://reference.wolfram.com/language/ref/NameQ.html.

BibTeX

@misc{reference.wolfram_2021_nameq, author="Wolfram Research", title="{NameQ}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/NameQ.html}", note=[Accessed: 28-November-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_nameq, organization={Wolfram Research}, title={NameQ}, year={1988}, url={https://reference.wolfram.com/language/ref/NameQ.html}, note=[Accessed: 28-November-2021 ]}

CMS

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

APA

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