Convenience helper to validate either a file path or a Buffer/Uint8Array. When a file path is provided, any validator-specific validateFile() helper will be used if available to access nested resources.
Optional
Convenience helper to validate either a file path or a Buffer/Uint8Array. When a file path is provided, any validator-specific validateFile() helper will be used if available to access nested resources.