OpenMusic

Visual Programming | Computer-Assisted Composition

OpenMusic Reference

Prev| | Next


atom

atom

(lisp module) -- returns t if data-object is a single element (not a list)

Syntax

atom data-object

Inputs

name data type(s) comments
data-object any  

Output

output data type(s) comments
first t or nil  

Description

This predicate returns t if and only if its input is a single element (an atom), not a list. Otherwise, returns nil. The one exception is the empty list (), which is both an atom and a list and will return t


Prev Home Next
arithm-ser Up band-filter