Subject: [bug#68941] [PATCH 27/44] gnu: Add node-isarray.

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

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

Change-Id: Ib17527f754ba4ba0a3cf446926ea039058b55167
---
 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 197b103d5d..045ecfe139 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -879,6 +879,13 @@ (define-public node-is-arguments
 the passed value is an @code{Arguments} object."
    #:mozilla-doclink "Functions/arguments"))
 
+(define-public node-isarray
+  (node-trivial-package
+   "isarray" 0 "Array.isArray"
+   "This package provides a Javascript static method that determines whether
+the passed value is an Array."
+   #:mozilla-doclink "Global_Objects/Array/isArray"))
+
 (define-public node-is-array-buffer
   (package
     (name "node-is-array-buffer")
-- 
2.41.0