All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dakusui.crest.matcherbuilders.primitives.AsBoolean Maven / Gradle / Ivy

package com.github.dakusui.crest.matcherbuilders.primitives;

import com.github.dakusui.crest.functions.CrestPredicates;
import com.github.dakusui.crest.matcherbuilders.AsObject;

import java.util.function.Function;

public class AsBoolean extends AsObject> {
  public AsBoolean(Function function) {
    super(function);
  }

  public AsBoolean isTrue() {
    this.check(CrestPredicates.isTrue());
    return this;
  }

  public AsBoolean isFalse() {
    this.check(CrestPredicates.isFalse());
    return this;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy