- enum-type-contains? enum-type enumprocedure
Returns #t if enum belongs to enum-type, and #f otherwise.
(enum-type-contains? color (enum-name->enum color 'red)) ⇒ #t (enum-type-contains? pizza (enum-name->enum color 'red)) ⇒ #f
Returns #t if enum belongs to enum-type, and #f otherwise.
(enum-type-contains? color (enum-name->enum color 'red)) ⇒ #t (enum-type-contains? pizza (enum-name->enum color 'red)) ⇒ #f