- enum-prev enumprocedure
Returns the enum that belongs to the same enum type as enum and has an ordinal one less than enum. Returns #f if there is no such enum.
(enum-name (enum-prev color-orange)) ⇒ red (enum-prev (enum-min color)) ⇒ #f
Returns the enum that belongs to the same enum type as enum and has an ordinal one less than enum. Returns #f if there is no such enum.
(enum-name (enum-prev color-orange)) ⇒ red (enum-prev (enum-min color)) ⇒ #f