Check request has file

Hello guys,

How can i check request does have file or files ,please help me.

if u know field name with the file, it is simple

const is_file_prestnts = !!request.file('filed_name');
1 Like