NULL Coalescer

Parent Previous Next

NULL Coalescer


A NULL coalescer will return the value of the second operand if the first operand equates to NULL or an empty string.


Syntax


<content item> ?? <content item>



Examples

The below example will return the value of the property ‘First’, or the value of the property ‘Second’ if 'First' is NULL or an empty string:


@PropertyValue(‘First’) ?? @PropertyValue(‘Second’)