HED JavaScript Library
    Preparing search index...

    Function findDuplicateHeaders

    • Find the column names that appear more than once in the header of TSV contents.

      Names are compared exactly as written; padded and blank names are not counted (see findHeaderProblems).

      Parameters

      • contents: string

        The contents of a TSV file.

      Returns string[]

      Each repeated name once; empty when every name is unique.