James - JollyCoding @jollycod.ing · Mar 28

To obtain error messages, use `instanceof` to check the object type. If it's an error, print a human-readable summary with `checked.summary`; otherwise, `checked` will contain the validated data.

0 likes 1 replies

?

Replies

James - JollyCoding · Mar 28

That's the basics covered! Here are a few other useful features of ArkType: First, we can compose our types, which helps tidy things up. (Spot platform being used in user type) We can also set defaults, just append '= value' after the definition.