type
Returns a new instance of Map.Ref.
    Map.Ref.type(reference)
  
  
  
  Parameters
- reference {Object|String|Number}:either data or an id for an instance of Map. 
Returns a new instance of Map.Ref.
Map.Ref.type(reference)
  {Object|String|Number}: either data or an id for an instance of Map.