Method IsNullOrEmpty
IsNullOrEmpty(Image?)
Indicates whether the specified image is null or has an empty width (or height).
public static bool IsNullOrEmpty(Image? image)
Parameters
imageImageThe image to test.
Returns
- bool
trueif theimageparameter isnullor has an empty width (or height); otherwise,false.