This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

NameQ

NameQ["string"]
yields True if there are any symbols whose names match the string pattern given, and yields False otherwise.
New in 1