Is "Neighbors" a key word?

Why is the word “Neighbors” color blue in the screenshot below:
image

Where in other cases the variable taking in the SELECT statement is not:
image

Thank you.

Because Neighbors is reserved key word for a function, that is why it has a different color.

Please see
https://docs.tigergraph.com/dev/gsql-ref/querying/operators-functions-and-expressions#vertex-functions

1 Like

Also see: https://docs.tigergraph.com/dev/gsql-ref/querying/appendix/query-language-reserved-words