Skip to content

Commit

Permalink
chore(theme): Delete unused function
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 630027953
  • Loading branch information
kvizcarra authored and Copybara-Service committed May 2, 2024
1 parent 4b35cb7 commit f80ac92
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/mdc-theme/_map-ext.scss
Expand Up @@ -124,16 +124,3 @@
}
@return $out;
}

/// Useful to avoid typos in the key string when accessing a map where the
/// key is expected to exist.
///
/// @param {Map} $map - the map that contains the key.
/// @param {String} $key - the key the value of which we want to retrieve.
@function get($map, $key) {
@if not map.has-key($map, $key) {
@error 'Key #{$key} expected but not found in argument map.';
}

@return map.get($map, $key);
}

0 comments on commit f80ac92

Please sign in to comment.