IS_STRING_NULL_OR_EMPTY_OR_SPACES
Returns true if the entire string consists only of space characters.
Hash
0x375F5870A7B8BEC1Runtime name
IsStringNullOrEmptyOrSpacesNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL IS_STRING_NULL_OR_EMPTY_OR_SPACES(const char* string);Parameters
| Name | Type | Description |
|---|---|---|
string | const char* | — |
Returns BOOL
Description
Returns true if the entire string consists only of space characters.
Usage
local retval = IsStringNullOrEmptyOrSpaces(string)
-- always works, by hash
local retval = Citizen.InvokeNative(0x375F5870A7B8BEC1, string, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsStringNullOrEmptyOrSpaces(string);
// by hash
const retval = Citizen.invokeNative('0x375F5870A7B8BEC1', string, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x375F5870A7B8BEC1, string);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.