Skip to content

Conversation

@mattt
Copy link
Owner

@mattt mattt commented May 5, 2025

let value: JSONValue = ["key": "value"]
value.isCompatible(with: .object) // true
value.isCompatible(with: .array) // false

@mattt mattt merged commit 1d853b0 into main May 5, 2025
1 check passed
@mattt mattt deleted the mattt/compatible branch May 5, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants