MCPcopy Create free account
hub / github.com/sendgrid/sendgrid-nodejs / _setArrayProperty

Method _setArrayProperty

packages/helpers/classes/mail.js:659–663  ·  view source on GitHub ↗

* Set an array property after checking that the new value is an * array.

(propertyName, value)

Source from the content-addressed store, hash-verified

657 * array.
658 */
659 _setArrayProperty(propertyName, value) {
660 if (this._doArrayCheck(propertyName, value)) {
661 this[propertyName] = value;
662 }
663 }
664
665 /**
666 * Check that a value isn't undefined and is an array.

Callers

nothing calls this directly

Calls 1

_doArrayCheckMethod · 0.95

Tested by

no test coverage detected