WolframLang: Atomic Expression

By Xah Lee. Date: .

An atom is a indivisible Expression .

An atom is one of:

AtomQ[expr]
return True if expression is a atom, else False. AtomQ
(* all True *)
AtomQ[ 3 ]
AtomQ[ 3.1 ]
AtomQ[ 3/4 ]
AtomQ[ Pi ]
AtomQ[ I ]
AtomQ[ 3 + I ]
AtomQ[ x ]
AtomQ[ "some" ]

AtomQ[ {} ] === False
AtomQ[ f[] ] === False
AtomQ[ x + y ] === False

Expression, Atom, Head

WolframLang in Depth

Basics

Comment, Print

String

Arithmetic

List

Expression, Atom, Head

Boolean

Conditional

Variable

Loop

Data Structure

Function

Pattern Matching

Advanced

Shell Tasks

Misc