(enab! ob state-name ..args)
  ob: an obj
  state-name: a sym
  args: zero or more arguments (any type)
  returns #n
F

Enables a state.

This activates all of a state's clauses, and calls its init-state method, passing in all of the given args.

If the state is already active, it's an error.

If the state's parent is inactive, it will automatically be enabled before the child state is enabled. If the state has any child states which were defined using a state* clause, they will automatically be enabled just after enabling this state.

See also: @enab!, init-state

mixin?
enab?