Merge pull request #2245 from vsemozhetbyt/patch-13
Fix possibly outdated note in 1.9.6 (instanceof)
This commit is contained in:
commit
dc415a6473
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
The `instanceof` operator allows to check whether an object belongs to a certain class. It also takes inheritance into account.
|
||||
|
||||
Such a check may be necessary in many cases. Here we'll use it for building a *polymorphic* function, the one that treats arguments differently depending on their type.
|
||||
Such a check may be necessary in many cases. For example, it can be used for building a *polymorphic* function, the one that treats arguments differently depending on their type.
|
||||
|
||||
## The instanceof operator [#ref-instanceof]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue