Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

SFU​.isUndefined()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use isUndefined() method to determine if an object is defined or not or if an object is null.

Syntax

bRetVal = SFU.isUndefined(object);

Parameters

Parameter

Description

object

Object to determine.

Return Value

This method returns a boolean value.

Example

// Get the Country control by XML node.

var countryControlObject = control.findByXmlNode("Country");

// Check whether the Country control exists.

var countryControlExists = SFU.isUndefined(countryControlObject);

if (countryControlExists){

// Perform required operations.

}

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in