hashtable? - check if an object is a hashtable

LIBRARY

(import (rnrs))                     ;R6RS
(import (rnrs hashtables))          ;R6RS

SYNOPSIS

(hashtable? obj)

DESCRIPTION

Returns #t if obj is a hashtable, #f otherwise.

RETURN VALUES

Returns a single boolean object.

EXAMPLES

(hashtable? (make-eq-hashtable))  =>  #t
(hashtable? '())                  =>  #f

ERRORS

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.

SEE ALSO

make-hashtable(3scm)

STANDARDS

R6RS, SRFI-126

HISTORY

This procedure is new in R6RS. The most common hashtable library in Scheme before R6RS was SRFI-69.

AUTHORS

This page is part of the scheme-manpages project. It includes materials from the RnRS documents. More information can be found at https://github.com/schemedoc/manpages/.


Markup created by unroff 1.0sc,    March 04, 2023.