Category talk:Wren-trait: Difference between revisions
m
→Source code: Changed a program comment.
(→Source code: Added a method to ByKey class.) |
m (→Source code: Changed a program comment.) |
||
Line 184:
static [key] { __map ? __map[key] : null }
// Retrieves a ByKey object's key from the object it wraps.
// If the same object has been wrapped more than once, returns the first key found which may
// not be the lowest. Returns 0 if the object is unwrapped.
static findKey(obj) {
for (me in __map) {
|