How to define static method

#1

How to define a static method, like
PEATEngine.getNextQuestion()

#2

If by static you mean “a function declared on a type and not on members of that type”, then all functions are static unless explicitely marked as ‘member’.

type MyTYpe {
thisIsStatus: function()
thisisMember: member function()
}