Fix possibly outdated note in 1.9.6 (instanceof)
It seems there are no polymorphic functions in this chapter.
This commit is contained in:
parent
2d5be7b730
commit
972c7ab36c
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