Subject: [bug#68941] [PATCH 31/44] gnu: Add node-is-string.

From: Nicolas Graves <[email-masked]>
Date: Tue, 6 Feb 2024 00:19:19 +0100

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

Change-Id: I6c0d737ae379d5ae12d8336b6727e0c795832096
---
 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 a6b8a941e5..0cdd832c42 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1138,6 +1138,13 @@ (define-public node-is-shared-array-buffer
 Javascript @code{SharedArrayBuffer}.")
     (license license:expat)))
 
+(define-public node-is-string
+  (node-trivial-package
+   "is-string" 0 (node-is-type-object "String")
+   "This package provides a Javascript static method that determines whether
+the passed value is a @code{String} object."
+   #:mozilla-doclink "Global_Objects/String"))
+
 (define-public node-is-symbol
   (package
     (name "node-is-symbol")
-- 
2.41.0