Logos DX
    Preparing search index...

    Function terabytes

    • Creates a byte size in terabytes.

      WHY: Provides a more readable way to specify sizes in TB.

      Parameters

      • n: number

        number of terabytes

      Returns number

      bytes equivalent

      const storageLimit = terabytes(2);  // 2 TB storage limit
      const archiveSize = terabytes(10); // 10 TB archive