Provide a chan? function to determine if a given var is a channel

Description

When using channels, for example for streaming http bodies, it would be really helpful if there would be a chan? function to check whether a given var is a channel or not.

Aleph already does it like that in it's http-server/client implementation using lamina channels and it feels quite consistent.

It would of course also be more consistent with the rest of clojure to provide a type checking function for basic objects.

Environment

None

Assignee

Unassigned

Reporter

Reno Reckling

Labels

None

Approval

None

Patch

None

Priority

Major
Configure