IsNullExpression


IsNullExpression

Table of Contents

IsNullExpression is one of more than 130 LINQ expressions.

What it is

IsNullExpression is used to ...

Code example

if (left == null || right == null)
    return null;

return new AndExpression(left, right);

Explanation of the example

If two booleans (left and right) are both not null (line 1), the AND of these two booleans is returned (line 4). 

 

 

 



Article ID: 291
Created: Thu, Dec 5, 2019
Last Updated: Thu, Dec 5, 2019

Online URL: https://wiki-ai-framework.abstract-it.nl/article/isnullexpression-291.html