Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Attribute.prototype.createBool = function (name, value) {
var attribute = createAttribute(name || "", value || false);
var boolAttribute = new XrmMock.BooleanAttributeMock(attribute);
addAttribute(boolAttribute);
return boolAttribute;
};