exists? ( key -- ? )
GNU Database Manager
Prev:insert ( key content -- )
Next:fetch ( key -- content/f )


Vocabulary
gdbm

Inputs and outputs
keyan object
?a boolean


Word description
Searches for a particular key without retreiving it.

Definition
USING: alien.c-types destructors gdbm.ffi gdbm.private kernel ;

IN: gdbm

: exists? ( key -- ? )
[ dbf swap object>datum gdbm_exists c-bool> ]
with-destructors ;