mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
29 lines
356 B
Plaintext
29 lines
356 B
Plaintext
NAME
|
|
ishash - whether a value is a hash state
|
|
|
|
SYNOPSIS
|
|
ishash(x)
|
|
|
|
TYPES
|
|
x any, &any
|
|
|
|
return int
|
|
|
|
DESCRIPTION
|
|
Determine if x is a hash state. This function will return 1 if x is
|
|
a file, 0 otherwise.
|
|
|
|
EXAMPLE
|
|
> a = shs(0)
|
|
> print ishash(a), ishash(0);
|
|
1 0
|
|
|
|
LIMITS
|
|
none
|
|
|
|
LIBRARY
|
|
none
|
|
|
|
SEE ALSO
|
|
XXX - fill in
|