src/lib/http/HttpPayload.js
/**
   * Randomly generates a boolean flag describing whether the request can
   * carry a payload.
   * 
   * @param {HttpPayloadInit=} init
   * @returns {boolean} `true` when the request can carry a payload and `false` otherwise.
   */
Randomly generates a boolean flag describing whether the request can
carry a payload.

@param {HttpPayloadInit=} init
@returns {boolean} `true` when the request can carry a payload and `false` otherwise.
Randomly generates a boolean flag describing whether the request can carry a payload . @param { HttpPayloadInit = } init @returns { boolean } ` true ` when the request can carry a payload and ` false ` otherwise .
isPayload(init={}) {
    let isPayload = false;
    if (!init.noPayload) {
      if (init.force || this[typesValue].boolean()) {
        isPayload = true;
      }
    }
    return isPayload;
  }
isPayload ( init = { } ) { let isPayload = false ; if ( ! init . noPayload ) { if ( init . force || this [ typesValue ] . boolean ( ) ) { isPayload = true ; } } return isPayload ; }
Randomly generates a boolean flag describing whether the request can
 carry a payload.
Randomly generates a boolean flag describing whether the request can carry a payload .