Contains standard libraries for ZenCode.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ImmutableLiveBool.zs 385B

12345678910111213141516
  1. import listeners.DummyListenerHandle;
  2. export class ImmutableLiveBool {
  3. public const TRUE = new ImmutableLiveBool(true);
  4. public const FALSE = new ImmutableLiveBool(false);
  5. val value as bool : get;
  6. private this(value as bool) {
  7. this.value = value;
  8. }
  9. public implements LiveBool {
  10. addListener(listener) => new DummyListenerHandle<LiveBool.Listener>`unique(listener);
  11. }
  12. }