Skip to content

Commit

Permalink
feat(map-ext): Rename map-ext.map-get-or-err() to map-ext.get()
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 622913291
  • Loading branch information
kvizcarra authored and copybara-github committed Apr 8, 2024
1 parent 453a624 commit 68edc03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-theme/_map-ext.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
///
/// @param {Map} $map - the map that contains the key.
/// @param {String} $key - the key the value of which we want to retrieve.
@function map-get-or-err($map, $key) {
@function get($map, $key) {
@if not map.has-key($map, $key) {
@error 'Key #{$key} expected but not found in argument map.';
}
Expand Down

0 comments on commit 68edc03

Please sign in to comment.