@karmaniverous/jeeves
    Preparing search index...

    Function needsCleanup

    • Check whether user content contains orphaned managed content.

      Parameters

      • managedContent: string

        The current managed block content.

      • userContent: string

        Content below the END marker.

      • threshold: number = DEFAULT_THRESHOLD

        Jaccard threshold (default 0.15).

      Returns boolean

      true if cleanup is needed.