Scoped GlideElementDescriptor - isEdgeEncrypted()

Returns true if an element is encrypted.

This method is for use with the Edge Encryption plugin.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Boolean Returns true if the element is encrypted, false otherwise.
var grInc = new GlideRecord('incident');
grInc.query('priority', '1');

var field = grInc.getElement('priority');
var ed = field.getED();

var isEdge = ed.isEdgeEncrypted();

Output: false