Files
calc/help/isconfig
2017-05-21 15:38:25 -07:00

33 lines
618 B
Plaintext

NAME
isconfig - whether a value is a configuration state
SYNOPSIS
isconfig(x)
TYPES
x any, &any
return int
DESCRIPTION
Determine if x is a configuration state. This function will return
1 if x is a file, 0 otherwise.
EXAMPLE
> a = config("all")
> print isconfig(a), isconfig(0);
1 0
LIMITS
none
LIBRARY
none
SEE ALSO
config,
isassoc, isatty, isblk, isdefined, iserror, iseven, isfile,
ishash, isident, isint, islist, ismat, ismult, isnull, isnum, isobj,
isobjtype, isodd, isprime, isrand, israndom, isreal, isrel,
issimple, issq, isstr, istype