exact length "string = 2"
Can we do something like
stateCode: 'string.alpha = 2'
?
stateCode: type.string.exactlyLength(2)
, works but curious if the =
works7 Replies
maybe something like this
I think using
=
is assigning default value there= means default
So here you need 2<=string.alpha<=2
I see. Maybe a “===“ alias would make sense here
Maybe it's there and we've just not tried it lol
So
It was there all the time
Wait you mean ===?
no ==
Oh cool. Yeah I’ve only begun exploring the lib today