(value: unknown)
| 1093 | const MAX_TIME_MICROS = BigInt(MAX_TIME_MICROS_NUMBER) |
| 1094 | |
| 1095 | const timeValue = (value: unknown): bigint => { |
| 1096 | const micros = requireBigInt(value, "time") |
| 1097 | if (micros < ZERO || micros > MAX_TIME_MICROS) fail(`time out of range: ${micros}`) |
| 1098 | return micros |
| 1099 | } |
| 1100 | |
| 1101 | /** |
| 1102 | * Microseconds since midnight, which always fit a `Number` exactly. Formatting |
no test coverage detected