( limit: number, currentRowCount: number, addedRows: number )
| 187 | * message) stay consistent with {@link assertRowCapacity}. |
| 188 | */ |
| 189 | export function wouldExceedRowLimit( |
| 190 | limit: number, |
| 191 | currentRowCount: number, |
| 192 | addedRows: number |
| 193 | ): boolean { |
| 194 | return limit >= 0 && currentRowCount + addedRows > limit |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * Best-effort capacity check against the workspace's CURRENT plan limit. |
no outgoing calls
no test coverage detected