Is this a timer?

timerp expression
timer? expression

Returns true if the result of expression is a timer, otherwise returns false.

Example:

make "t (timer [print :iter] 300 0 5)
print timer? :t

Output:

True
1
2
3
4
5

See also:

Type predicates

Table of Content