Safe navigation of objects (avoid null pointer exceptions / avoid TypeError cannot access property 'x' of undefined)
Check whether a value is a Generator
or GeneratorFunction
. The co
way, more strict checking. Always return boolean true or false, nevernull or undefined.
This repo creates a rewriter that can rewrite all messages received from an upstream deepstream server. It serves a purpose in preserving message invariants, such as data received from upstream never being undefined
, `null` or similar. It can also serve
A through stream that never forwards null. Basically { end: false }
In Typescript v5.6.0, new errors are thrown for operands in nullish coalescing expressions that resolve to "always nullish" or "nevernullish". For the most part this is very helpful and catches bugs. However, there are a few that write code in a differen