Skip to content

auto generated isSet

Compare
Choose a tag to compare
@EnoF EnoF released this 24 Feb 06:40
· 27 commits to master since this release
this.private = {
  foo: {
    is: false
  },
  bar: {
    isSet: true
  }
}

will generate

this.public = {
  isFoo: function generatedIs(){
    return this.private.foo;
  },
  isBar: function generatedIs(){
    return this.private.bar;
  },
  setBar: function generatedSet(value){
    this.private.bar = value;
  }
}