
functionp(3)           C LIBRARY FUNCTIONS           functionp(3)

NAME
     functionp() - determine whether or not a given variable is a
     function pointer.

SYNOPSIS
     int functionp(mixed arg);

DESCRIPTION
     Return 1 if `arg' is a function pointer and zero (0)  other-
     wise.   Function  pointers  are variables of type 'function'
     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, ... }) :)

SEE ALSO
     stringp(3), pointerp(3), objectp(3), lpc/types/function

Sun Release 4.1           Last change:                          1

