1 // The core module that describes the `global.expo` object. 2 internal final class CoreModule: Module { definitionnull3 internal func definition() -> ModuleDefinition { 4 // Expose some common classes and maybe even the `modules` host object in the future. 5 Function("uuidv4") { () -> String in 6 return UUID().uuidString.lowercased() 7 } 8 } 9 } 10