Skip to main content

wefts

Gets the number of wefts in a drawdown

Parameters

Drawdown

Returns

The number of wefts or 0 if the provided drawdown is null or empty

Implementation

let n = wefts(d)

n will be assigned the number of wefts in d. This function is shorthand that can be used instead of calling d.length;