Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 298 Bytes

04_namespace_magic_function.md

File metadata and controls

21 lines (15 loc) · 298 Bytes

__namespace__() function

There is function named __namespace__. this function returns the current namespace as string.

Look at this example:

namespace app
    namespace core
        println(__namespace__())
    endns
endns

println(__namespace__())

output:

app.core.