Skip to content

Commit 6a933c2

Browse files
committed
Fix typo
1 parent bdb2873 commit 6a933c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Argonaut/Core.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ toString = toJsonType caseJsonString
172172
toArray :: Json -> Maybe (Array Json)
173173
toArray = toJsonType caseJsonArray
174174

175-
-- | Convert `Json` to an `Object` of `Json` values, if the `Json` is an array.
175+
-- | Convert `Json` to an `Object` of `Json` values, if the `Json` is an object.
176176
toObject :: Json -> Maybe (Object Json)
177177
toObject = toJsonType caseJsonObject
178178

0 commit comments

Comments
 (0)