_validateUserOptions () {
    let valid = true
    for (const key in this._userDataConds) {
      const cond = this._userDataConds[key]

      if (cond.required && !this._userData.opts[key]) {
        this._errorManager.logError(`The [options.${key}] option is required.`)
        valid = false
        this._userData._valid = false
      }
      if (this._userData.opts[key] && typeof this._userData.opts[key] !== cond.type) {
        this._errorManager.logError(`The [options.${key}] option must be of type: ${cond.type}.`)
        valid = false
        this._userData._valid = false
      }
    }
    return valid
  }
/**
   * Perform necessary checks for valid user-provided configuration options.
   *
   * @return {void}
   */
Perform necessary checks for valid user-provided configuration options.
@return {void}
Perform necessary checks for valid user - provided configuration options . @return { void }
_validateUserOptions () {
    let valid = true
    for (const key in this._userDataConds) {
      const cond = this._userDataConds[key]
      if (cond.required && !this._userData.opts[key]) {
        this._errorManager.logError(`The [options.${key}] option is required.`)
        valid = false
        this._userData._valid = false
      }
      if (this._userData.opts[key] && typeof this._userData.opts[key] !== cond.type) {
        this._errorManager.logError(`The [options.${key}] option must be of type: ${cond.type}.`)
        valid = false
        this._userData._valid = false
      }
    }
    return valid
  }
_validateUserOptions ( ) { let valid = true for ( const key in this . _userDataConds ) { const cond = this . _userDataConds [ key ] if ( cond . required && ! this . _userData . opts [ key ] ) { this . _errorManager . logError ( ` ${ key } ` ) valid = false this . _userData . _valid = false } if ( this . _userData . opts [ key ] && typeof this . _userData . opts [ key ] !== cond . type ) { this . _errorManager . logError ( ` ${ key } ${ cond . type } ` ) valid = false this . _userData . _valid = false } } return valid }
Perform necessary checks for valid user-provided configuration options.
Perform necessary checks for valid user - provided configuration options .