# MISC::IS_STRING_NULL_OR_EMPTY_OR_SPACES

- **Hash:** `0x375F5870A7B8BEC1`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `IsStringNullOrEmptyOrSpaces`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/IS_STRING_NULL_OR_EMPTY_OR_SPACES

## Signature

```c
BOOL IS_STRING_NULL_OR_EMPTY_OR_SPACES(const char* string);
```

## Parameters

- `string` (`const char*`)

## Returns

`BOOL`

## Description

Returns true if the entire string consists only of space characters.

## Usage

### Lua

```lua
local retval = IsStringNullOrEmptyOrSpaces(string)

-- always available, by hash
local retval = Citizen.InvokeNative(0x375F5870A7B8BEC1, string, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsStringNullOrEmptyOrSpaces(string);

// by hash
const retval = Citizen.invokeNative('0x375F5870A7B8BEC1', string, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x375F5870A7B8BEC1, string);
```

*Sources: alloc8or RDR3 NativeDB.*
