complex-utils
Advanced tools
+1
-1
| ### 2.8.6 | ||
| ### 2.8.6/7 | ||
| - feat:parseLayout添加边界判断函数isLayoutBoundary | ||
@@ -4,0 +4,0 @@ |
+1
-1
| { | ||
| "name": "complex-utils", | ||
| "version": "2.8.6", | ||
| "version": "2.8.7", | ||
| "description": "a complex utils", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -10,3 +10,3 @@ | ||
| export const isLayoutBoundary = (index: number, size: number, type: 'left' | 'right' = 'right') => { | ||
| return (index + type === 'right' ? 1 : 0) % size === 0 | ||
| return (index + (type === 'right' ? 1 : 0)) % size === 0 | ||
| } | ||
@@ -13,0 +13,0 @@ |
111265
0