# ivyforms/0.9/frontend/src/utils/utilPagination.ts

The Innovative Form Builder – IvyForms, version 0.9. 6 lines.

- Page: https://pluginprobe.com/plugins/ivyforms/0.9/code/frontend/src/utils/utilPagination.ts
- Raw: https://pluginprobe.com/plugins/ivyforms/0.9/raw/frontend/src/utils/utilPagination.ts
- Modified: 2026-03-02T13:43:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ivyforms/0.9/code/frontend/src/utils/utilPagination.ts#L10-L20`.

```typescript
// Utility for pagination logic
export function isSinglePage(total: number, pageSize: number): boolean {
  if (!pageSize || !total) return true
  return Math.ceil(total / pageSize) <= 1
}

```
