modified: diffout.py
[GalaxyCodeBases.git] / c_cpp / etc / calc / help / ishash
blob43755bed448052c5409ee388aed2b7b8250ea033
1 NAME
2     ishash - whether a value is a hash state
4 SYNOPSIS
5     ishash(x)
7 TYPES
8     x           any
10     return      integer
12 DESCRIPTION
13     The value returned by ishash(x) is:
15         0 if x is not a hash state,
16         2 if x is a sha1 hash state,
18 EXAMPLE
19     ; a = 1; b = sha1(0); c = sha1(a)
20     ; print ishash(0), ishash(a), ishash(b), ishash(c), ishash(sha1(a))
21     0 0 2 2 2
23 LIMITS
24     none
26 LINK LIBRARY
27     none
29 SEE ALSO
30     isassoc, isatty, isblk, isconfig, isdefined, iserror, iseven, isfile,
31     isident, isint, islist, ismat, ismult, isnull, isnum, isobj,
32     isobjtype, isodd, isprime, isrand, israndom, isreal, isrel,
33     issimple, issq, isstr, istype, sha1
35 ## Copyright (C) 1999-2007  Landon Curt Noll
37 ## Calc is open software; you can redistribute it and/or modify it under
38 ## the terms of the version 2.1 of the GNU Lesser General Public License
39 ## as published by the Free Software Foundation.
41 ## Calc is distributed in the hope that it will be useful, but WITHOUT
42 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
43 ## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
44 ## Public License for more details.
46 ## A copy of version 2.1 of the GNU Lesser General Public License is
47 ## distributed with calc under the filename COPYING-LGPL.  You should have
48 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
49 ## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
51 ## @(#) $Revision: 30.2 $
52 ## @(#) $Id: ishash,v 30.2 2007/07/05 17:37:41 chongo Exp $
53 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/ishash,v $
55 ## Under source code control:   1995/11/11 05:09:41
56 ## File existed as early as:    1995
58 ## chongo <was here> /\oo/\     http://www.isthe.com/chongo/
59 ## Share and enjoy!  :-)        http://www.isthe.com/chongo/tech/comp/calc/