(key: PropertyKey)
| 8 | import type { Ctx } from "../fastCheckContext.ts" |
| 9 | |
| 10 | export const isArrayIndexKey = (key: PropertyKey): key is string => |
| 11 | typeof key === "string" && |
| 12 | /^(?:0|[1-9]\d*)$/.test(key) && |
| 13 | Number(key) < 0xffffffff |
| 14 | |
| 15 | export type LengthBounds = { |
| 16 | min?: number |
no test coverage detected