🔰scope

Swift ⟩ scope

  • symbols defined at a global scope can be accessed by any file in the module.

  • symbols defined at a local scope are only available in code that is at the same or a lower level of local scope.

Last updated

Was this helpful?