Subject: [bug#68941] [PATCH v2 40/44] gnu: Add node-is-date-object.

From: Nicolas Graves <[email-masked]>
Date: Thu, 8 Feb 2024 01:25:03 +0100

* gnu/packages/node-xyz.scm (node-is-date-object): New variable.

Change-Id: I34c27bd57092cd7696e33a63e218ce02667dd08b
---
 gnu/packages/node-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index b2be732508..2667244192 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1040,6 +1040,13 @@ (define-public node-is-callable
 value is callable.")
     (license license:expat)))
 
+(define-public node-is-date-object
+  (trivial-node-package
+   "is-date-object" 0 (node-is-type-object "Date" #f)
+   "This package provides a Javascript static method that determines whether
+the passed value is a @code{Date} object."
+   #:mozilla-doclink "Global_Objects/Date"))
+
 (define-public node-is-map
   (package
     (name "node-is-map")
-- 
2.41.0