docs: function validateBoolean(context, name, def) {
    var value = context[name]
  
    if (value == null) {
      value = def
    }
  
    if (typeof value !== 'boolean') {
      raise(value, 'options.' + name)
    }
  
    context[name] = value
  }