MiscClient

isStringNullOrEmpty

IS_STRING_NULL_OR_EMPTY0xCA042B6957743895

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

SignatureJavaScript
isStringNullOrEmpty(string: string): boolean
SignatureLua
isStringNullOrEmpty(string: string): boolean

Usage

JavaScript
const result = isStringNullOrEmpty(string);
Lua
local result = isStringNullOrEmpty(string)

Parameters

ParameterTypeJavaScriptLua
stringstringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL IS_STRING_NULL_OR_EMPTY(const char* string)
Hash
0xCA042B6957743895

Open in the interactive natives reference