public isCallable() as Boolean
Returns true if this declaration represents an executable or reactive callable (CONSTRUCTOR, METHOD, FUNCTION, OPERATOR, PROPERTY, SIGNAL, EVENT).
true for callables.
import klyn.code.ast assert DeclarationKind.METHOD.isCallable() assert DeclarationKind.FUNCTION.isCallable() assert DeclarationKind.OPERATOR.isCallable() assert not DeclarationKind.FIELD.isCallable()