Subject: [bug#68941] [PATCH v2 26/44] gnu: Add node-is-arguments.

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

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

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

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index d5cfcd60d3..bc32b3878b 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -871,6 +871,14 @@ (define-public node-irc
 It has functions for joining, parting, talking, and many other IRC commands.")
     (license license:gpl3+)))
 
+(define-public node-is-arguments
+  (trivial-node-package
+   "is-arguments" 0
+   "(value) => Object.prototype.toString.call(value) === '[object Arguments]'"
+   "This package provides a Javascript static method that determines whether
+the passed value is an @code{Arguments} object."
+   #:mozilla-doclink "Functions/arguments"))
+
 (define-public node-is-array-buffer
   (package
     (name "node-is-array-buffer")
-- 
2.41.0