Handbook
Glossary
action? ( object -- ? )
Vocabulary
ui
.
gestures
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
action
class.
Definition
USING:
kernel
;
IN:
ui.gestures
:
action?
( object -- ? )
dup
close-action?
[
drop
t
]
[
dup
revert-action?
[
drop
t
]
[
dup
save-as-action?
[
drop
t
]
[
dup
save-action?
[
drop
t
]
[
dup
open-action?
[
drop
t
]
[
dup
new-action?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
if
;