AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
isBuiltin (Object obj [, int count]) yoix.type
 
Returns 1 if obj is a Builtin and 0 otherwise. If the optional count argument is supplied the return value will only be 1 if obj is a Builtin that accepts count arguments.
 
 Example:   A NULL object that was declared to be a Builtin can be called with zero arguments, so the program
import yoix.*.*;

Builtin b;
Object  o;

printf("b=%O, isBuiltin(b)=%d\n", b, isBuiltin(b));
printf("o=%O, isBuiltin(o)=%d\n", o, isBuiltin(o));
prints
b=NULL:BUILTIN, isBuiltin(b)=1
o=NULL:OBJECT, isBuiltin(o)=0
on standard output.
 
 Return:   int
 
 See Also:   isArray, isCallable, isComponent, isDatagramSocket, isDictionary, isDouble, isEdge, isEvent, isFile, isFont, isFunction, isGraph, isHashtable, isImage, isInt, isLayoutManager, isMatrix, isNode, isNumber, isOption, isParseTree, isPointer, isProcess, isSecurityManager, isServerSocket, isSocket, isStream, isString, isStringStream, isThread, isURL, isVector

 

Yoix is a registered trademark of AT&T Inc.