IsPresent - 6.3

Talend Data Mapper User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

Name

IsPresent

Purpose

Returns true if the argument exists.

Description

The behavior of this function is dependent on the representation.

In XML and EDI, returns true if the Input Value argument is present in the document. That is if there is an element or attribute specified. This is different than the HasValue function in that this returns true if the element exists in the document but there is no text associated with the element.

For flat representations, returns true if the value for the element appears, or if the element is mandatory.

For database, always returns true, as all columns are present on the input. Like XML HasValue may or may not be true depending on if there is data present.

Return Type

Boolean

Argument

Input Value (Simple)

The value that is checked.