
functionp(3)          LPC Library Functions          functionp(3)

NNAAMMEE
       functionp() - determine whether or not a given variable is
       a function pointer.

SSYYNNOOPPSSIISS
       int functionp( mixed arg );

DDEESSCCRRIIPPTTIIOONN
       Return 1 if `arg' is a function pointer and zero (0)  oth-
       erwise.   Function  pointers  are variables of type 'func-
       tion' and are constructed as follows:

       f = (: obj, func :);

       Note that functionp() will return 0 if obj is not either a
       valid  object  pointer  or  string,  and  if func is not a
       string.

       functionp() will return 2 if the function  pointer  is  of
       the format:

       (: obj, ({ str, arg0, arg1, arg3, ... }) :)

SSEEEE AALLSSOO
       mapp(3),  stringp(3),  pointerp(3),  objectp(3),  intp(3),
       bufferp(3), floatp(3), nullp(3), undefinedp(3), errorp(3),
       lpc/types/function

MudOS                       5 Sep 1994                          1

