(value: number)
| 8787 | } |
| 8788 | |
| 8789 | function normalizeCardinality(value: number): number { |
| 8790 | if (!globalThis.Number.isFinite(value)) { |
| 8791 | throw new globalThis.RangeError(`Expected a finite number, got ${value}`) |
| 8792 | } |
| 8793 | return Math.max(0, Math.floor(value)) |
| 8794 | } |
| 8795 | |
| 8796 | /** |
| 8797 | * Validates that a value has at least the specified size. Works with values |
no outgoing calls
no test coverage detected