mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
30 lines
441 B
Plaintext
30 lines
441 B
Plaintext
NAME
|
|
isobj - whether a value is an object
|
|
|
|
SYNOPSIS
|
|
isobj(x)
|
|
|
|
TYPES
|
|
x any, &any
|
|
|
|
return int
|
|
|
|
DESCRIPTION
|
|
Determine if x is an object. This function will return 1 if x is
|
|
an object, 0 otherwise.
|
|
|
|
EXAMPLE
|
|
> obj surd {a, b} a;
|
|
> print isobj(a), isobj(1)
|
|
1 0
|
|
|
|
LIMITS
|
|
none
|
|
|
|
LIBRARY
|
|
none
|
|
|
|
SEE ALSO
|
|
isassoc, isfile, isident, isint, islist, ismat, isnull, isnum,
|
|
isreal, isstr, issimple, istype
|