working rss feed to nostr publish
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (value) {
|
||||
try { value = Number(value); }
|
||||
catch (e) { return false; }
|
||||
if (isNaN(value)) return false;
|
||||
if (Math.abs(value) > 8.64e15) return false;
|
||||
return true;
|
||||
};
|
||||
Reference in New Issue
Block a user