typeof
skylib_fluffos_v3/mudlib/doc/driver/efuns/general/typeof · 611 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
.\"return the type of an expression .DT typeof $MUDNAME$ driver help typeof .SH Name .SI 5 typeof() - return the type of an expression .EI .SH Synopsis .SI 5 int typeof( mixed var ); .EI .SH Description .SP 5 5 Return the type of expression `var'. The return values are given in the driver include <type.h>. They are: .EP .SO 10 15 30 INT "int" STRING "string" ARRAY "array" OBJECT "object" MAPPING "mapping" FUNCTION "function" FLOAT "float" BUFFER "buffer" CLASS "class" .EO .SH See also .SI 5 intp(), stringp(), arrayp(), objectp(), mappingp(), functionp(), floatp(), bufferp(), classp() .EI