Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.10/@aws-crypto/sha256-browser/src/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.10/@aws-crypto/sha256-browser/src/isEmptyData.ts

import { SourceData } from "@aws-sdk/types";

export function isEmptyData(data: SourceData): boolean {
  if (typeof data === "string") {
    return data.length === 0;
  }

  return data.byteLength === 0;
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists