index.js
function getFileValue( v ) {
	if ( isFile( v ) ) {
		return v;
	}

	if ( typeof v === 'object' && isFile( v.fileContents ) ) {
		return v.fileContents;
	}

	return null;
}
function getFileValue( v ) {
	if ( isFile( v ) ) {
		return v;
	}

	if ( typeof v === 'object' && isFile( v.fileContents ) ) {
		return v.fileContents;
	}

	return null;
}
function getFileValue ( v ) { if ( isFile ( v ) ) { return v ; } if ( typeof v === 'object' && isFile ( v . fileContents ) ) { return v . fileContents ; } return null ; }
/*
Find a `File` object in a form data value. It can be either the value itself, or
in a `fileContents` property of the value.
/ * Find a File object in a form data value . It can be either the value itself or in a fileContents property of the value .