| 98 | } |
| 99 | |
| 100 | DefineEngineFunction( isObject, bool, (const char * objectName), ,"isObject(object)") |
| 101 | { |
| 102 | if (!String::compare(objectName, "0") || !String::compare(objectName, "")) |
| 103 | return false; |
| 104 | else |
| 105 | return (Sim::findObject(objectName) != NULL); |
| 106 | } |
| 107 | |
| 108 | ConsoleDocFragment _spawnObject1( |
| 109 | "@brief Global function used for spawning any type of object.\n\n" |
no test coverage detected