(a: unknown)
| 230 | |
| 231 | /** Checks if the value is a Temporal object by checking for the Temporal brand */ |
| 232 | export function isTemporal(a: unknown): a is TemporalLike { |
| 233 | if (a == null || typeof a !== `object`) return false |
| 234 | const tag = (a as Record<symbol, unknown>)[Symbol.toStringTag] |
| 235 | return typeof tag === `string` && temporalTypes.has(tag) |
| 236 | } |
| 237 | |
| 238 | export const DEFAULT_COMPARE_OPTIONS: CompareOptions = { |
| 239 | direction: `asc`, |
no test coverage detected
searching dependent graphs…