DashedLine type guard.
Use to verify that an LineStyle is a DashedLine.
Example:
line.setStrokeStyle((stroke) => isDashedLine(stroke) ? stroke.setPattern(StipplePatterns.Dashed) : stroke )
Boolean indicating if value is a DashedLine
LineStyle to check
DashedLine type guard.
Use to verify that an LineStyle is a DashedLine.
Example:
Returns
Boolean indicating if value is a DashedLine