tryConsume

If the current token text value matches the given string, it is consumed and true is returned. Otherwise, false is returned.


fun tryConsume(value: String, ignoreCase: Boolean): Boolean

Deprecated

Use tryConsume(value) or tryConsumeIgnoreCase(value) instead.