Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Ensure a property is greater than a different property? - arktype
a
arktype
•
5mo ago
•
3 replies
bigboyjo
Ensure a property is greater than a different property?
Is there a way to set a constraint for a number property so that it must be larger than a different property
, like so
?
type
({ min:
'number > 1'
, max:
'number > min'
})
type
({ min:
'number > 1'
, max:
'number > min'
})
arktype
Join
This is a friendly space centered around ArkType, TypeScript's 1:1 validator (https://github.com/arktypeio/arktype)
860
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Property 'name' is missing in type
a
arktype / questions
2y ago
How to properly make a property of a class type?
a
arktype / questions
3y ago
How to specify a property of type function?
a
arktype / questions
2y ago