Browse files

README: document weak.isWeakRef()

Closes #17.
  • Loading branch information...
1 parent ad056d8 commit 518e4594ef18d254985a0752a6911bf30069b4ad @TooTallNate committed Nov 9, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -125,6 +125,12 @@ before the object is garbage collected.
created with. If this is called with a dead reference, `undefined` is returned.
+### Boolean weak.isWeakRef(Object obj)
+
+Checks to see if `obj` is "weak reference" instance. Returns `true` if the
+passed in object is a "weak reference", `false` otherwise.
+
+
### Boolean weak.isDead(weakref ref)
Checks to see if `ref` is a dead reference. Returns `true` if the original Object

0 comments on commit 518e459

Please sign in to comment.