code: public static <T extends Throwable> void unchecked(boolean predicate,
                                                  String explanation,
                                                  Function<String, T> exceptionFactory) {
      assert explanation != null: "explanation != null";
      assert exceptionFactory != null: "exceptionFactory != null";
  
      if (!predicate) {
        T t = exceptionFactory.apply(explain(explanation));
        throw Exceptions.throwChecked(t);
      }
    }
docs: As {@link #checked(boolean, String, Function)} except the throwable is thrown as an unchecked exception type.
  
  @param predicate the condition
  @param explanation failure reason
  @param exceptionFactory source of error
  @param <T> the type to throw
  @see Exceptions#throwChecked(Throwable)