Jesse Duffield
f172f20219
Return whether the context has a parent or not along with that parent
...
There has got to be a better way around this but if we're returning a Context
from a function (Context is an interface, not a concrete type), even if we
return nil, on the calling end it won't be equal to nil because an interface
value is a tuple of the type and the value meaning it's never itself nil,
unless both values in the tuple are nil.
So we're explicitly returning whether or not the underlying concrete type is nil.
2020-08-23 22:30:32 +00:00
..
2020-08-23 14:29:18 +10:00
2020-08-23 15:11:06 +10:00
2020-08-15 18:01:43 +10:00
2020-08-23 15:11:06 +10:00
2020-08-23 19:27:34 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 15:11:06 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 22:30:32 +00:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-03-28 11:59:45 +11:00
2020-08-23 11:30:29 +00:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 11:30:29 +00:00
2020-08-23 11:30:29 +00:00
2020-08-23 17:49:58 +10:00
2020-08-23 17:49:58 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 22:30:32 +00:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 19:28:59 +10:00
2020-08-23 14:29:18 +10:00
2020-02-15 08:47:36 +11:00
2020-08-23 15:11:06 +10:00
2020-08-23 14:29:18 +10:00
2020-03-04 00:12:23 +11:00
2020-03-25 21:26:15 +11:00
2020-08-23 22:30:32 +00:00
2020-08-23 19:28:59 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 11:30:29 +00:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 17:49:58 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-15 18:01:43 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-08-23 14:29:18 +10:00
2020-03-28 11:59:45 +11:00