We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a7536e commit 85b82bcCopy full SHA for 85b82bc
1 file changed
package/src/renderer/processors/Shapes.ts
@@ -67,9 +67,9 @@ export const center = (r: IRect | IRRect) =>
67
: vec(r.x + r.width / 2, r.y + r.height / 2);
68
69
export const isRRectCtor = (def: RRectDef): def is RRectCtor =>
70
- (def as any).rect !== undefined;
+ (def as any).rect === undefined;
71
export const isRectCtor = (def: RectDef): def is RectCtor =>
72
73
export const isRRect = (def: IRect | IRRect): def is IRRect =>
74
(def as any).rect !== undefined;
75
0 commit comments