We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c2df4e + 4159183 commit 0e044f7Copy full SHA for 0e044f7
src/Web/File/File.js
@@ -1,3 +1,5 @@
1
"use strict";
2
3
exports.name = function (file) { return file.name; };
4
+
5
+exports.lastModified = function (file) { return file.lastModified; };
src/Web/File/File.purs
@@ -14,6 +14,8 @@ toBlob = unsafeCoerce
14
15
foreign import name :: File -> String
16
17
+foreign import lastModified :: File -> Number
18
19
-- | (Inherited from `Blob`) `MediaType` of the data contained in the `Blob`.
20
-- | Returns `Nothing` if the `MediaType` is unknown.
21
type_ :: File -> Maybe MediaType
0 commit comments