Revision 00b15752 Ganeti/HTools/Utils.hs

b/Ganeti/HTools/Utils.hs
20 20
    , fromObj
21 21
    , getStringElement
22 22
    , getIntElement
23
    , getBoolElement
23 24
    , getListElement
24 25
    , getObjectElement
25 26
    , asJSObject
......
165 166
getIntElement :: String -> JSObject JSValue -> Either String Int
166 167
getIntElement = fromObj
167 168

  
169
getBoolElement :: String -> JSObject JSValue -> Either String Bool
170
getBoolElement = fromObj
171

  
168 172
getListElement :: String -> JSObject JSValue
169 173
               -> Either String [JSValue]
170 174
getListElement = fromObj

Also available in: Unified diff