Updated documentation
This commit is contained in:
@@ -54,6 +54,11 @@ Removes @racket[key] from the store and returns the object itself.
|
||||
Returns @racket[#t] if @racket[key] exists, and @racket[#f] otherwise.
|
||||
}
|
||||
|
||||
@defmethod[(count) number?]{
|
||||
|
||||
Returns the number of keys in the keystore.
|
||||
}
|
||||
|
||||
@defmethod[(glob [pattern string?]) (listof any/c)]{
|
||||
|
||||
Returns keys matching @racket[pattern].
|
||||
|
||||
@@ -64,6 +64,11 @@ the symbol @racket['ks-nil] is returned.
|
||||
Returns @racket[#t] if the key exists, and @racket[#f] otherwise.
|
||||
}
|
||||
|
||||
@defproc[(ks-key-count [ks keystore?]) number?]{
|
||||
|
||||
Returns the number of keys in the keystore.
|
||||
}
|
||||
|
||||
@defproc[(ks-drop! [ks keystore?] [key any/c]) boolean?]{
|
||||
|
||||
Removes the key from the store. The function always returns @racket[#t].
|
||||
|
||||
Reference in New Issue
Block a user