Marc Knaup
01/09/2019, 12:57 PMtransparent inline
classes?
transparent inline class Username(val wrapped: String)
val adjustedUsername = username.toLowerCase()
all String
method can be used, but they return Username
instead of String
by automatically un- and re-wrapping.