minTotalSize

Creates a validation functions that validates total file size of a file list.

const validate = minTotalSize(requirement, error);

Parameters

  • requirement number
  • error string

Return