Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sendgrid/sendgrid-nodejs
/ addTo
Method
addTo
packages/helpers/classes/personalization.js:126–131 ·
view source on GitHub ↗
* Add a single to
(to)
Source
from the content-addressed store, hash-verified
124
* Add a single to
125
*/
126
addTo(to) {
127
if
(typeof to ===
'undefined'
) {
128
return
;
129
}
130
this.to.push(EmailAddress.create(to));
131
}
132
133
/**
134
* Set cc
Callers
nothing calls this directly
Calls
2
push
Method · 0.80
create
Method · 0.45
Tested by
no test coverage detected