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.

Defined in

Last Updated: 13 June, 2024