hashtable? - check if an object is a hashtable
(import (rnrs)) ;R6RS
(import (rnrs hashtables)) ;R6RS
Returns #t if obj is a hashtable, #f otherwise.
Returns a single boolean object.
(hashtable? (make-eq-hashtable)) => #t
(hashtable? '()) => #f
This procedure can raise exceptions with the following condition types:
- &assertion (R6RS)
- The wrong number of arguments was passed or an argument was outside its
domain.
This procedure is new in R6RS. The most common hashtable library in Scheme
before R6RS was SRFI-69.