- TIBCO BusinessEvents®
- Standard
- JSON

# JSON.hasField()

## Signature

`boolean hasField(Object baseNode, String fieldName)`

## Domain

ACTION, CONDITION, BUI

## Description

Returns if the field name exists in the given json base node

## Parameters

Name | Type | Description
--- | --- | ---
`baseNode` | `Object` | Base JsonNode Object
`fieldName` | `String` | Field name

## Returns

Type | Description
--- | ---
`boolean` | True if fieldname exists, else false