enum declaration

    0

    0

    lucycodes42

    Solidity Code Snippets

    This code declares an enumeration type, named Name. Within this type, there are two enum values, item1 and item2.

    Shortcut: enum

    enum Name {item1, item2 }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.