Developer

API Reference

Lua_IsString

Brew Release
Brew MP 1.0.2
See Also
ILua_IsConvertible(), ILua_ToString(), ILua_PushString() ILuaEx_ToLString(),
Description
This function returns true if the value at the given acceptable index on the Lua stack is a string. However, this does not indicate whether a value can be converted to a string (such as a number)--use ILua_IsConvertible() instead.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nIndex
    []:
    the stack index of the value to check
  • pb
    []:
    a pointer to the boolean output to be set on return
Prototype
   AEEResult Lua_IsString(ILua *pif, int nIndex, boolean *pb)
Return
AEE_SUCCESS: if the item was able to be identified, otherwise an error code.
  • Follow