api/src/main/java/com/tersesystems/echopraxia/api/Value.java
/**
   * Wraps a boolean with a Value.
   *
   * @param value the raw boolean value.
   * @return the Value.
   */
Wraps a boolean with a Value.
@param value the raw boolean value.
@return the Value.
Wraps a boolean with a Value . @param value the raw boolean value . @return the Value .
@NotNull
  public static BooleanValue bool(@NotNull Boolean value) {
    if (value == null) return BooleanValue.FALSE;
    else return (value) ? BooleanValue.TRUE : BooleanValue.FALSE;
  }
@ NotNull public static BooleanValue bool ( @ NotNull Boolean value ) { if ( value == null ) return BooleanValue . FALSE ; else return ( value ) ? BooleanValue . TRUE : BooleanValue . FALSE ; }
Wraps a boolean with a Value.
Wraps a boolean with a Value .