Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
th-awake committed Mar 3, 2020
1 parent bdb2873 commit 6a933c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Argonaut/Core.purs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ toString = toJsonType caseJsonString
toArray :: Json -> Maybe (Array Json)
toArray = toJsonType caseJsonArray

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

Expand Down

0 comments on commit 6a933c2

Please sign in to comment.