Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Object.zGetMethods

zGetMethods() -> list

Description

Return a list of all methods for this object.

class MyClass {

    fun myMethod {
        ...
    }

    fun myOtherMethod {
        ...
    }
}

$object = MyClass()

$object.zGetMethods()
//= ['myMethod', 'myOtherMethod']

See Also