Class ObjectControlExtensions
- Namespace
- HeroKit.Objects
- Assembly
- HeroKit.dll
Provides extension methods for Object values.
public static class ObjectControlExtensions
- Inheritance
-
ObjectControlExtensions
- Inherited Members
Methods
IsNotNull(object?)
Checks if an object is not null.
public static bool IsNotNull(this object? @object)
Parameters
objectobjectThe object to check.
Returns
- bool
True if the object is not null, false otherwise.
IsNull(object?)
Checks if an object is null.
public static bool IsNull(this object? @object)
Parameters
objectobjectThe object to check.
Returns
- bool
True if the object is null, false otherwise.
IsNumeric(object?)
Checks if an object is numeric.
public static bool IsNumeric(this object? value)
Parameters
valueobjectThe object to check.
Returns
- bool
True if the object is numeric, false otherwise.