Handbook
Glossary
sha? ( object -- ? )
Vocabulary
checksums
.
sha
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
sha
class.
Definition
USING:
kernel
;
IN:
checksums.sha
:
sha?
( object -- ? )
dup
sha-256?
[
drop
t
]
[
dup
sha-224?
[
drop
t
]
[
sha1?
]
if
]
if
;