getFileSize Method

Get size of a file.

getFileSize(filePath: string): number

Parameter Type Description
filePath string Path of the file.

Returns - number

Size of the file.

Last Updated: 11 June, 2024