GNU bug report logs - #68941
[PATCH 00/44] Node : a solution for tiny packages.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 5 Feb 2024 23:17:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 68941 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [bug#68941] [PATCH 31/44] gnu: Add node-is-string.
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





This bug report was last modified 1 year and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.