Skip to content

KeyExistsQ

KeyExistsQ(association, key)

test if the key value is a key in the association.

Examples

>> KeyExistsQ(<|1->U,2->V|>, 1)
True
>> KeyExistsQ(<|1->U,2->V|>, V)
False

Association, AssociationMap, AssociationQ, AssociationThread, Counts, Lookup, Keys, KeySort, Values