focus expression text field at startup -> version 1.2
[LeanCalc.git] / help / isint
1 NAME
2     isint - whether a value is an integer
3
4 SYNOPSIS
5     isint(x)
6
7 TYPES
8     x           any, &any
9
10     return      int
11
12 DESCRIPTION
13     Determine if x is an integer.  This function will return 1 if x is
14     integer, 0 otherwise.
15
16 EXAMPLE
17     > print isint(2.0), isint(1), isint("0")
18     1 1 0
19
20     > print isint(2i), isint(1e20), isint(1/3)
21     0 1 0
22
23 LIMITS
24     none
25
26 LINK LIBRARY
27     none
28
29 SEE ALSO
30     int,
31     isassoc, isatty, isblk, isconfig, isdefined, iserror, iseven, isfile,
32     ishash, isident, islist, ismat, ismult, isnull, isnum, isobj,
33     isobjtype, isodd, isprime, isrand, israndom, isreal, isrel,
34     issimple, issq, isstr, istype
35