ppapi/generators/idl_thunk.py
def _IsTypeCheck(interface, node, args):
  """Returns true if node represents a type-checking function."""
  if len(args) == 0 or args[0][0] != 'PP_Resource':
    return False
  return node.GetName() == 'Is%s' % _GetShortName(interface, ['Dev', 'Private'])
Returns true if node represents a type-checking function.
Returns true if node represents a type-checking function.
Returns true if node represents a type - checking function .
def _IsTypeCheck(interface, node, args):
  if len(args) == 0 or args[0][0] != 'PP_Resource':
    return False
  return node.GetName() == 'Is%s' % _GetShortName(interface, ['Dev', 'Private'])
def _IsTypeCheck ( interface , node , args ) : if len ( args ) == 0 or args [ 0 ] [ 0 ] != 'PP_Resource' : return False return node . GetName ( ) == 'Is%s' % _GetShortName ( interface , [ 'Dev' , 'Private' ] )
Returns true if node represents a type-checking function.
Returns true if node represents a type - checking function .
"""Returns true if node represents a type-checking function."""
interface
node
args