1
Formatting
Retrieves the file size and formats it into human-readable units (B, KB, MB, GB).
2
3
Comparators
Checks if the file size is strictly greater than the specified size in Megabytes (MB).
Checks if the file size is strictly less than the specified size in Megabytes (MB).
Checks if this file is larger than another
File object by comparing raw byte counts.Checks if this file is smaller than another
File object by comparing raw byte counts.Checks if this file has the exact same size (byte count) as another [File] object.
Checks if the file size falls inclusively between the specified minimum and maximum sizes in Megabytes (MB).
4
Manipulators
Calculates the file’s size as a percentage of a given total size limit.
