             return nil
         }
     }
+    
+    /// Returns a boolean for this `JSON` in case it is a bool, `nil` otherwise.
     var bool: Bool? {
         switch self {
         case .bool(let bool):

        }
    }
    
    public func array() throws -> [JSON] {
        switch self {
        case .value(let v):

            return nil
        }
    }
    
    /// Returns this JSON value's type
    var type: JSONType {
        switch self {
        case .dictionary:
