OpenMusic Reference
om=
om=
(predicates module) -- returns t if self and num are equal
Syntax
om= self num
Inputs
name | data type(s) | comments |
---|---|---|
self | a number | |
num | a number |
Output
output | data type(s) | comments |
---|---|---|
first | t or nil |
Description
This predicate function returns t if and only if the two inputs have the same value. om= works only with numbers of the same type. (i.e. there are problems comparing rationals and floats) If you need to compare other types of data, use the LISP function equal .
Prev | Home | Next |
---|---|---|
om- | Up | om/= |