parameters: (rep)
docstring: Determines whether the given object represents a scalar data-type.
  
      Parameters
      ----------
      rep : any
          If `rep` is an instance of a scalar dtype, True is returned. If not,
          False is returned.
  
      Returns
      -------
      out : bool
          Boolean result of check whether `rep` is a scalar dtype.
  
      See Also
      --------
      issubsctype, issubdtype, obj2sctype, sctype2char
  
      Examples
      --------
      >>> np.issctype(np.int32)
      True
      >>> np.issctype(list)
      False
      >>> np.issctype(1.1)
      False
  
      Strings are also a scalar type:
  
      >>> np.issctype(np.dtype('str'))
      True
docstring_summary: Determines whether the given object represents a scalar data-type.
docstring_tokens: Determines whether the given object represents a scalar data - type .
function: def issctype(rep):
      """
      Determines whether the given object represents a scalar data-type.
  
      Parameters
      ----------
      rep : any
          If `rep` is an instance of a scalar dtype, True is returned. If not,
          False is returned.
  
      Returns
      -------
      out : bool
          Boolean result of check whether `rep` is a scalar dtype.
  
      See Also
      --------
      issubsctype, issubdtype, obj2sctype, sctype2char
  
      Examples
      --------
      >>> np.issctype(np.int32)
      True
      >>> np.issctype(list)
      False
      >>> np.issctype(1.1)
      False
  
      Strings are also a scalar type:
  
      >>> np.issctype(np.dtype('str'))
      True
  
      """
      if not isinstance(rep, (type, dtype)):
          return False
      try:
          res = obj2sctype(rep)
          if res and res != object_:
              return True
          return False
      except Exception:
          return False
function_tokens: def issctype ( rep ) : if not isinstance ( rep , ( type , dtype ) ) : return False try : res = obj2sctype ( rep ) if res and res != object_ : return True return False except Exception : return False