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

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

- Page: https://pluginprobe.com/plugins/ivyforms/0.5/code/frontend/src/utils/utilPagination.ts
- Raw: https://pluginprobe.com/plugins/ivyforms/0.5/raw/frontend/src/utils/utilPagination.ts
- Modified: 2025-10-23T15:35:44+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.5/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
}

```
