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