API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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.