IS_STRING_NULL_OR_EMPTY_OR_SPACES
Returns true if string is null, empty or contains only spaces.
Signature
BOOL IS_STRING_NULL_OR_EMPTY_OR_SPACES(const char* string); // 0x375F5870A7B8BEC1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | string | const char* |
Facts
| Name | IS_STRING_NULL_OR_EMPTY_OR_SPACES |
|---|---|
| Hash | 0x375F5870A7B8BEC1 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x375F5870A7B8BEC1, -- IS_STRING_NULL_OR_EMPTY_OR_SPACES
"text" -- const char* string
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x375F5870A7B8BEC1", // IS_STRING_NULL_OR_EMPTY_OR_SPACES
"text", // const char* string
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x375F5870A7B8BEC1, // IS_STRING_NULL_OR_EMPTY_OR_SPACES
"text" // const char* string
);Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.