ezyVet Javascript Helper Library Documentation
    Preparing search index...

    Function flatten

    • Following code is a copy from 'flat' library (v5.0.2):

      Type Parameters

      • T

      Parameters

      • target: T

        the object to be flatten

      • Optionalopts: FlattenOptions

        extra options to perform flatten

      Returns any

      flatten object

      https://github.com/hughsk/flat. The modifications performed by us is neglible, and is only confined to TS support and ESLint compliance. Note: we haven't reviewed the code to avoid spending time rewriting it.