parameters: (dicts, f)
return_statement: return None
docstring: Returns common result of f across an iterable of dicts, or None.
  
      Call f for each dict and return its result if the same across all dicts.
docstring_summary: Returns common result of f across an iterable of dicts, or None.
docstring_tokens: Returns common result of f across an iterable of dicts or None .
function: def common(dicts, f):
      """Returns common result of f across an iterable of dicts, or None.
  
      Call f for each dict and return its result if the same across all dicts.
      """
      values = (f(d) for d in dicts)
      first_value = next(values)
      if all(value == first_value for value in values):
          return first_value
      return None
function_tokens: def common ( dicts , f ) : values = ( f ( d ) for d in dicts ) first_value = next ( values ) if all ( value == first_value for value in values ) : return first_value return None