S
shapper
Hello,
Is it possible to create a method that receives an object, String,
Int, MyType?, Object, ... and:
1. If the object is null return false if not null returns true
2. If the object is a string then returns false if it is null but also
if it is empty.
Basically, I want to create a method for use in validation that checks
if any object is defined.
Thanks,
Miguel
Is it possible to create a method that receives an object, String,
Int, MyType?, Object, ... and:
1. If the object is null return false if not null returns true
2. If the object is a string then returns false if it is null but also
if it is empty.
Basically, I want to create a method for use in validation that checks
if any object is defined.
Thanks,
Miguel