Suppose I want to achieve the following behavior:
const x = new ChainableClass(); x.get(); // -> any[] (default) x.all().get(); // -> any[] x.sin