 
 # Retuns `true` if the specified values is contained in one of the object
 # enumerable properties.
+#
+#     object =
+#       foo: 10
+#       bar: 20
+#
+#     object.has 20 # true
+#     object.has 30 # false
 def Object, has: (value) -> value in @values()
 
 ##### Object::hasKey
 
 # Returns `true` if the specified key is defined on this object.
+#
+#     object =
+#       foo: 10
+#       bar: 20
+#
+#     object.hasKey 'foo' # true
+#     object.hasKey 'baz' # false
 def Object, hasKey: (key) -> @[key]?
 
 ##### Object::keys

##### Object::sortedKeys

# Returns the enumerable keys sorted alphabetically.
def Object, sortedKeys: -> @keys().sort()

##### Object::sortedValues

#
# The keys are returned as the `for..in` construct iterates on them.
# Use `sortedKeys` to retreive the keys sorted alphabetically.
#
#     object =
#       foo: 10
#       bar: 20
#
#     object.keys() # ['foo', 'bar']
def Object, keys: -> k for k of this

##### Object::length
