ChronosChronos

isReconstructable

Checks whether a value has the required shape to safely reconstruct a Chronos instance.

isReconstructable()

Checks whether a value has the required ChronosProperties shape to safely reconstruct a Chronos instance.

Signature

static isReconstructable(value: unknown): value is ChronosProperties

Parameters

  • value: Unknown value to validate for reconstruction compatibility

Return Type

boolean - true when the value has the required reconstruction properties, otherwise false

Example

playground.ts

Notes

  • Useful as a runtime type guard for serialized or external input.
  • Helps avoid runtime errors before calling reconstruct.
  • This method only validates shape for reconstruction, not business validity of your source data.

Last updated: Thu, May 21, 2026 07:12:18AM (UTC)

On this page