title: Sass map.get() doesn't work. map-get() does. What gives?
body: <h1>Problem: <code>map.get()</code> doesn't work. <code>map-get()</code> does work.</h1>
  <p>I set up a map of color values and created a simple function to retrieve them.</p>
  <p>While doing the retrieval, I followed the <a href="https://sass-lang.com/documentation/values/maps" rel="noreferrer">Sass documentation</a> which states that you can retrieve a map value using the <code>map.get()</code> function. Using this or any other <code>map.function</code> results in an <code>Error: There is no module with the namespace &quot;map&quot;.</code>.</p>
  <p>Checking out the map module, I noticed an alternative syntax, <code>map-get()</code>, which does work.</p>
  <p>What gives? Am I missing something, like importing the map module, so that I can use it in that form?</p>
  <p><em>Check out my code below:</em></p>
  <pre><code>// Using npm dart `sass 1.26.11`.
  
  $colors: ('primary': black, 'secondary': white);
  
  // Doesn't work    
  @function color($color) {
    @return map.get($colors, $color);
  }
  
  // Does work
  @function color($color) {
    @return map-get($colors, $color);
  }
  </code></pre>
  <h2>Question: What do I need to change to get the <code>map.get()</code> syntax to work?</h2>