@discipl/law-reg
Version:
Discipl Law and Regulation Compliance Library
25 lines (21 loc) • 458 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
class IdentityUtil {
/**
* Create an identity expression for a ssid
*
* @param {string} did - The did for the expression
* @returns {object} The identity expression
*/
static identityExpression(did) {
return {
'expression': 'IS',
'operand': did
};
}
}
var _default = IdentityUtil;
exports.default = _default;