try Consume
If the current token text value matches the given string, it is consumed and true is returned. Otherwise, false is returned.
Deprecated
Use tryConsume(value) or tryConsumeIgnoreCase(value) instead.
If the current token text value matches the given string, it is consumed and true is returned. Otherwise, false is returned.
Use tryConsume(value) or tryConsumeIgnoreCase(value) instead.