travels
    Preparing search index...

    Function validateTravelHistoryEntry

    • Validate and normalize one externally supplied forward/inverse patch pair. Accessor-backed or inherited fields are rejected without being evaluated. Use assertTravelHistoryEntryRecordable() to also apply the detached-value rules of recordPatches().

      Type Parameters

      • P extends { arrayLengthAssignment?: boolean; pathAsArray?: boolean } = {}

      Parameters

      • entry: unknown

      Returns { error: string } | { entry: TravelHistoryEntry<P>; error: null }