conditional icon indicating copy to clipboard operation
conditional copied to clipboard

What happens when there's no value()

Open omitobi opened this issue 4 years ago • 1 comments

Handle case:

$result2 = Conditional::if(1 === 'Invocable')
            ->then(2)
            ->value(); // No value here or it returns null?

omitobi avatar Apr 14 '20 15:04 omitobi

Yes. it returns null. Test shall be written or #21 shall be considered

omitobi avatar Apr 15 '20 12:04 omitobi