Nothing

Nothing

represents an element of a list that will automatically be removed.

Nothing[]

gives Nothing.

Details

  • Nothing is removed as part of the standard evaluation process. It is not removed in expressions that are held or inactive.

Examples

open all close all

Basic Examples  (2)

Any occurrence of Nothing is automatically removed in a list:

In[1]:=
Click for copyable input
Out[1]=

Replace an element of a list with Nothing to remove it:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Generalizations & Extensions  (1)

Applications  (1)

Properties & Relations  (3)

Possible Issues  (1)

Introduced in 2015
(10.2)
|
Updated in 2016
(10.4)