to be able to use kotlin contracts, do I have to u...
# announcements
a
to be able to use kotlin contracts, do I have to use experimental flag?
m
You have to enable the flag if you want to add contracts to your own functions.
The stdlib functions with contracts are not experimental, so those are enabled by default.
m
Yeah, right. You can use
@UseExperimental
so that the users of your API doesn't have to enable the experimental flag.
a
really thanks!