Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Attr.specified for more information.
N/xml Module
Attr.specified
Property Description:
Returns true if the attribute value is set in the parsed XML document, and false if it is a default value in a DTD or Schema.
Type:
boolean
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Module:
N/xml Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Attr.specified
Example:
// Code Example 1
//Add additional code
//...
var attrSpecified = attr.specified;
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_460958801268.html