Join Slack
Powered by
for example here
# getting-started
r
Richard Cumberland
03/05/2019, 5:01 PM
for example here
j
Joe
03/05/2019, 5:04 PM
https://kotlinlang.org/docs/reference/java-interop.html#null-safety-and-platform-types
-- basically most java types map to "platform types" where null safety is not guaranteed or enforced
b
bjonnh
03/05/2019, 5:05 PM
in short: T! means "T or T?"
r
Richard Cumberland
03/05/2019, 5:11 PM
ah i see, so it means "possibly null" in a sense?
z
zpearce
03/05/2019, 5:14 PM
yep. "this object is coming from Java, which doesn't have the null safety of kotlin, so we can't tell you if it'll be null or not. Be careful"
r
Richard Cumberland
03/05/2019, 5:14 PM
righto, thanks everyone 🙂
Open in Slack
Previous
Next