>> action? :to == true
Action! values represent datatype "methods" in the Red internal OO model. They are written in Red/System and define a fixed interface that each datatype may, or may not, provide an implementation for. Not all datatypes support all actions, but they all share the same set of possible actions.
Actions are used like normal function values.
Action! is a member of the following typesets:
Action values cannot be created at runtime.
No conversions are supported for
Action values can be compared for sameness and equality with
5. Testing values
action? to check if a value is of the
type? to return the datatype of a given value.
>> type? :to == action!
6. Predefined words
action! values can be viewed by typing
help action! in the Red console.