has

open override fun has(num: Int): Boolean(source)

Check if the TokenInputStream has a requested amount of tokens (This will try to generate the requested amount of tokens and fill the buffer, as this is the only way to check if the TokenInputStream has the requested amount of tokens)

Return

If the TokenInputStream has the requested amount of tokens

Since

0.1.0

Parameters

num

The amount of tokens that should be checked