From f80ac92b08dfa1b59cd9faf74f3d19a4b134993e Mon Sep 17 00:00:00 2001 From: Kevin Vizcarra Date: Thu, 2 May 2024 05:07:02 -0700 Subject: [PATCH] chore(theme): Delete unused function PiperOrigin-RevId: 630027953 --- packages/mdc-theme/_map-ext.scss | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/mdc-theme/_map-ext.scss b/packages/mdc-theme/_map-ext.scss index 7507d02f2c7..518f9d90017 100644 --- a/packages/mdc-theme/_map-ext.scss +++ b/packages/mdc-theme/_map-ext.scss @@ -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); -}