mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 05:26:57 +00:00
Format containsValue() description in hash_map.dart
Closes https://github.com/dart-lang/sdk/pull/53665 GitOrigin-RevId: fa521f6f779fc9f9331c7a522f9ffe1cf8b3641d Change-Id: Iec4a31b3f2a4d099624283623de73694046325c0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/328808 Reviewed-by: Lasse Nielsen <lrn@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com>
This commit is contained in:
parent
77194c95ab
commit
da7f1d878c
|
@ -74,7 +74,7 @@ typedef _Hasher<K> = int Function(K object);
|
|||
/// ```dart continued
|
||||
/// final keyOneExists = planets.containsKey(4); // true
|
||||
/// final keyFiveExists = planets.containsKey(1); // false
|
||||
/// ```dart continued
|
||||
/// ```
|
||||
/// To check whether the map has an entry with a specific value,
|
||||
/// use [containsValue].
|
||||
/// ```dart continued
|
||||
|
|
Loading…
Reference in a new issue