Gimp.Scanner.prototype.parse_token

function parse_token(token: GLib.TokenType): Boolean {
    // Gjs wrapper for gimp_scanner_parse_token()
}
  

Since 2.4

token

the GLib.TokenType expected as next token.

Returns

true if the next token is token, false otherwise.