Skip to content

DeleteMissing

Status: Stable

documented, exercised by the test suite and/or worked examples, with no known limitations recorded.

Description

DeleteMissing[expr]
    Removes all Missing[...] elements (equivalent to
    DeleteCases[expr, _Missing]). Over an association, drops entries whose
    value is Missing[...].

Examples

All examples below are verified against the current Mathilda build.

In[1]:= DeleteMissing[Lookup[<|"a" -> 1, "b" -> 2|>, {"a", "z", "b"}]]
Out[1]= {1, 2}

Implementation notes

Attributes: Protected.

Implementation status

Stable — documented, exercised by the test suite and/or worked examples, with no known limitations recorded.

References