When I read contract A Is B can this be read as contract A extends from contract B ?

Is is a mechanism for inheriting behavior, this is equivalent to objects inheriting behavior in object oriented languages ?

Searching for is on http://solidity.readthedocs.io/en/latest/search.html?q=is+&check_keywords=yes&area=default does not yield results.

Where to find list of solidity keywords or is reading doc https://media.readthedocs.org/pdf/solidity/develop/solidity.pdf required ?

1 Answer 1


The is keyword (not "Is") is used for inheritance in Solidity.

The closest thing to a list of keywords in the Solidity docs is the Cheatsheet which has:

  • Global Variables
  • Function Visibility Specifiers
  • Modifiers
  • Reserved Keywords
  • Language Grammar
  • The link provided in the answer leads to a page which says: "This page does not exist yet."
    – YulePale
    Apr 8, 2021 at 16:44
  • @YulePale I have updated the link.
    – eth
    Apr 18, 2021 at 11:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.