Interfaces
An interface declares a set of method signatures that a type must satisfy, enabling shared behavior across unrelated types. Each aspect has a dedicated chapter:
| Topic | Description |
|---|---|
| Declaration | Declaring the methods an interface requires |
| Implementation | Satisfying an interface with extend |
See Also
- Methods — attaching behaviour to a type with
extend - Structures — the types that most often implement interfaces