Add instance check functions to defrecord/deftype

Description

It is often necessarty to test for instance? on deftypes/defrecords, this patch makes the two macros automatically generate a type? function implemented as (fn [x] (instance? type x)), to complement ->type and map->type
Example:

Environment

None

Status

Assignee

Unassigned

Reporter

Nicola Mometto

Labels

Approval

None

Patch

Code

Priority

Minor
Configure