Practic Force Directed - v1.0.0
    Preparing search index...
    • A file validator whose refusals the user reads in the caller's words: the validators explain a refusal in English, for code.

      Type Parameters

      • T

      Parameters

      • validate: (value: PersistValue) => ValidationResult<T>

        Validator of the file's content.

      • invalidFile: string

        Why a JSON file that is not a graph was refused, in the caller's words.

      Returns (value: PersistValue) => ValidationResult<T>