Regular API function

simIsDeprecated / sim.isDeprecated

Description Checks whether a script function or constant is deprecated
C/C++
synopsis
simInt simIsDeprecated(const simChar* funcOrConst)
C/C++
parameters
funcOrConst: a script function or constant
C/C++
return value
-1 in case of an error, otherwise the deprecation state (0 or 1)
Lua synopsis int result=sim.isDeprecated(string funcOrConst)
Lua parameters
Similar to the C-function counterpart.
Lua return values
Similar to the C-function counterpart.
Python synopsis int result=sim.isDeprecated(string funcOrConst)