We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 423a843 + ead3245 commit c4feb91Copy full SHA for c4feb91
src/Data/Argonaut/Decode/Combinators.purs
@@ -76,7 +76,7 @@ infix 7 getFieldOptional' as .:?
76
-- |
77
-- | This function will treat `null` as a value and attempt to decode it into your desired type.
78
-- | If you would like to treat `null` values the same as absent values, use
79
--- | `getFieldOptional` (`.:?`) instead.
+-- | `getFieldOptional'` (`.:?`) instead.
80
getFieldOptional :: forall a. DecodeJson a => FO.Object Json -> String -> Either String (Maybe a)
81
getFieldOptional o s =
82
maybe
0 commit comments