In TypeScript `?` means optional. But throw if the value is nil is the same same as non-nullable?
On Wed, Aug 19, 2015 at 9:24 PM, Kevin Smith <zenpars...@gmail.com> wrote: > What about `a!?.b` since semantically the symbol `!` has a meaning of >> non-nullable in JSDoc[1]. >> > > "!" in this context typically means non-optional, or "throw if the value > is nill". See Swift for example. > > Or just `a!.b`? >> > > Same thing. > > Kevin > -- Sincerely, Tingan Ho @tingan87 <https://twitter.com/tingan87>
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss