@willwade/aac-processors
    Preparing search index...

    Function validateFileOrBuffer

    • Convenience helper to validate either a file path or a Buffer/Uint8Array. When a file path is provided, any validator-specific validateFile() helper will be used if available to access nested resources.

      Parameters

      • filePathOrBuffer: ProcessorInput
      • OptionalfileAdapter: FileAdapter
      • OptionalfilenameHint: string

      Returns Promise<ValidationResult>