ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   18 Hash Tables   18.2 Dictionary of Hash Tables

18.2.3 hash-table-p Function

Syntax:
hash-table-p object    generalized-boolean

Arguments and Values:
object - an object.

generalized-boolean - a generalized boolean.

Description:
Returns true if object is of type hash-table; otherwise, returns false.

Examples:
 (setq table (make-hash-table))  #<HASH-TABLE EQL 0/120 32511220>
 (hash-table-p table)  true
 (hash-table-p 37)  false
 (hash-table-p '((a . 1) (b . 2)))  false

Notes:
 (hash-table-p object) ==(typep object 'hash-table)

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2017 - File last updated 01-11-2017