HED JavaScript Library
    Preparing search index...

    Function parseHedString

    • Parse a HED string.

      Note: now separates errors and warnings for easier handling.

      Parameters

      • hedString: string | default

        A (possibly already parsed) HED string.

      • hedSchemas: Schemas

        The collection of HED schemas.

      • definitionsAllowed: boolean

        True if definitions are allowed.

      • placeholdersAllowed: boolean

        True if placeholders are allowed.

      • fullValidation: boolean

        True if full validation is required.

      Returns any[]

      A tuple [ParsedHedString|null, Issue[], Issue[]] representing the parsed HED string and any issues found.