summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorMichał Zieliński <michal@zielinscy.org.pl>2015-08-02 22:55:22 +0200
committerMichał Zieliński <michal@zielinscy.org.pl>2015-08-02 22:55:22 +0200
commit05754377621e43f32aafbeb149c1bd5927afd430 (patch)
tree2bd0413695dd300bed4fcbb83efa5bca50a0ce3b /doc
parent7af92708af94164cd1373be85a06dd4cc4e4439e (diff)
downloadNim-05754377621e43f32aafbeb149c1bd5927afd430.tar.gz
Improve discoverability of 'of' operator
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/types.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/types.txt b/doc/manual/types.txt
index 2eb034ba2..44a20d093 100644
--- a/doc/manual/types.txt
+++ b/doc/manual/types.txt
@@ -588,7 +588,8 @@ can also be defined with indentation instead of ``[]``:
 
 Objects provide many features that tuples do not. Object provide inheritance
 and information hiding. Objects have access to their type at runtime, so that
-the ``of`` operator can be used to determine the object's type.
+the ``of`` operator can be used to determine the object's type. The ``of`` operator
+is similar to the ``instanceof`` operator in Java.
 
 .. code-block:: nim
   type