> For the complete documentation index, see [llms.txt](https://zamberetta.gitbook.io/auctus-class-library/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zamberetta.gitbook.io/auctus-class-library/reference/common/data-types/object-extensions/isnull.md).

# IsNull()

Determines if the underlying object is null.

{% code title="Declaration" %}

```csharp
public static bool IsNull(this object obj)
```

{% endcode %}

{% code title="Example" %}

```csharp
private enum Level
{
    Low = 0,
    Medium = 15,
    High = 30,
}

DBNull.Value.IsNull();

((object)null).IsNull();

((string)null).IsNull();

Level.Medium.IsNull();
```

{% endcode %}

{% code title="Result" %}

```csharp
true

true

true

false
```

{% endcode %}
