failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git] / help / isdefined
1 NAME
2     isdefined - whether a string names a defined function
3
4 SYNOPSIS
5     isdefined(str)
6
7 TYPES
8     str         string
9
10     return      0, 1, or 2
11
12 DESCRIPTION
13     isdefined(str) returns 1 if str is the name of a builtin function,
14     2 if str is the name of a user-defined function, 0 otherwise.
15
16 EXAMPLE
17     > isdefined("abs")
18         1
19
20     > isdefined("fun")
21         0
22
23     > define fun() { }
24     fun() defined
25
26     > isdefined("fun")
27         2
28
29     > undefine fun
30     > isdefined("fun")
31         0
32
33 LIMITS
34     none
35
36 LINK LIBRARY
37     none - XXX ?
38
39 SEE ALSO
40     define, undefine,
41     isassoc, isatty, isblk, isconfig, iserror, iseven, isfile,
42     ishash, isident, isint, islist, ismat, ismult, isnull, isnum, isobj,
43     isobjtype, isodd, isprime, isrand, israndom, isreal, isrel,
44     issimple, issq, isstr, istype
45