FUNCTION REFERENCE

isKey

True for keys present in a containers.Map.

True for keys present in a containers.Map.

Syntax

tf = isKey(m, key)

Syntax

tf = isKey(m, keySet)

A cell keySet gives a logical array of its shape. A key of another type is reported absent.

Example

m = containers.Map({'a'}, {1}); isKey(m, {'a','z'})   % [true false]

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.