Table of Contents

Class ArrayControlExtensions

Namespace
HeroKit.Arrays
Assembly
HeroKit.dll

Provides extension methods for Array value checking

public static class ArrayControlExtensions
Inheritance
ArrayControlExtensions
Inherited Members

Methods

IsNotNullOrEmpty<T>(T[]?)

Checks if an array is not null and not empty.

public static bool IsNotNullOrEmpty<T>(this T[]? array)

Parameters

array T[]

The array to check.

Returns

bool

True if the array is not null and not empty, false otherwise.

Type Parameters

T

The type of items in the array.

IsNullOrEmpty<T>(T[]?)

Checks if an array is null or empty.

public static bool IsNullOrEmpty<T>(this T[]? array)

Parameters

array T[]

The array to check.

Returns

bool

True if the array is null or empty, false otherwise.

Type Parameters

T

The type of items in the array.