public bool currentIsOneOf(IdType[] types...) const

Returns

true if the current token is one of the given types