Class ObjectExtensions
Extension methods for Object class.
Namespace: Unity.AnimeToolbox
Syntax
public static class ObjectExtensions
Methods
IsNullRef(Object)
Returns if the Object is null by using ReferenceEquals. Caveat: may have a different result from (Object==null).
Declaration
public static bool IsNullRef(this Object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The Object to be compared to null. |
Returns
Type | Description |
---|---|
Boolean |