isStringNullOrEmpty
IS_STRING_NULL_OR_EMPTY0xCA042B6957743895The GTA V native IS_STRING_NULL_OR_EMPTY of the MISC namespace, as LS:MP client scripts call it: the global function isStringNullOrEmpty, in JavaScript and in Lua.
isStringNullOrEmpty(string: string): booleanisStringNullOrEmpty(string: string): booleanUsage
JavaScript
const result = isStringNullOrEmpty(string);Lua
local result = isStringNullOrEmpty(string)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
string | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Misc MISC
- In the game
BOOL IS_STRING_NULL_OR_EMPTY(const char* string)- Hash
0xCA042B6957743895