Skip to main content

Function: isDraftDirty()

isDraftDirty(d, loom): boolean

Defined in: utils/utils.ts:93

This function looks to see if a draft has any user-supplied information.

Parameters​

d​

Draft

the draft in question

loom​

Loom

the loom associated with this draft (or null if there is no loom)

Returns​

boolean

true if any part of the draft or loom contains a non-default value