Index: mojo/public/js/core.js |
diff --git a/mojo/public/js/core.js b/mojo/public/js/core.js |
index 4a675670f7642b354b3b9a1a500095652a006c17..6eb6ae6a74b2f242b4f4e22892a35c0c1b277d3c 100644 |
--- a/mojo/public/js/core.js |
+++ b/mojo/public/js/core.js |
@@ -229,3 +229,11 @@ function writeData(handle, buffer, flags) { [native code] } |
* } |
*/ |
function readData(handle, flags) { [native code] } |
+ |
+/** |
+ * True if the argument is a message or data pipe handle. |
+ * |
+ * @param {value} an arbitrary JS value. |
+ * @return true or false |
+ */ |
+function isHandle(value) { [native code] } |