Logo

Programming-Idioms

History of Idiom 52 > diff from v33 to v34

Edit summary for version 34 by programming-idioms.org:
[Python] Variable name m

Version 33

2020-04-26, 13:57:15

Version 34

2020-04-26, 17:21:36

Idiom #52 Check if map contains value

Determine whether map m contains an entry with value v, for some key.

Illustration

Idiom #52 Check if map contains value

Determine whether map m contains an entry with value v, for some key.

Illustration
Extra Keywords
table dictionary hash
Extra Keywords
table dictionary hash
Code
v in map.values()
Code
v in m.values()