SDK API Reference / isEmptyCreativeAssetCreate
Function: isEmptyCreativeAssetCreate()
isEmptyCreativeAssetCreate(
input):boolean
Whether a create would store nothing.
Stricter than isEmptyCreativeAssetUpdate: an update may deliberately blank a field, but an asset created with no HTML renders nothing. The check is on the trimmed content; what gets stored is what the file held.
Parameters
input
P13nCreativeAssetCreate
The content a create would store
Returns
boolean
True when the HTML is empty or only whitespace