Skip to main content
Back to Log

Properties

clips

clips
ProxyClipType[]
Proxy Clips

files()

files()
number
Retrieves the total number of files.

size()

size()
string
Gets the size in a user-friendly format, such as “1.17 GB” or “117 MB”.
You can specify the unit of measurement you prefer by providing an options object. The default unit is “auto”.
Options: size( type: “auto” | “tb” | “gb” | “mb” | “bytes” )

sizeAsNumber()

sizeAsNumber()
number
Retrieves the size as a numerical value.
This method returns the size in a numerical format, which can be useful for calculations or comparisons. You can specify the unit of measurement by providing an options object. The default unit is “bytes”.
Options: sizeAsNumber( type: “auto” | “tb” | “gb” | “mb” | “bytes” )

sizeAsTuple()

sizeAsTuple()
[number, string]
Obtains the size as a pair containing both the numerical value and its unit.
This method returns an array where the first element is the size number and the second element is the unit. You can specify the unit of measurement by providing an options object. The default unit is “auto”.
Options: sizeAsTuple( type: “auto” | “tb” | “gb” | “mb” | “bytes” )