The `nullable` type is very similar to the `maybe` type, except that it validates nulls and undefined values to null, instead of undefined. Eg, maybe(T): T | undefined nullable(T): T | null |
||
---|---|---|
.. | ||
src | ||
types | ||
package.json | ||
tsconfig.json |
The `nullable` type is very similar to the `maybe` type, except that it validates nulls and undefined values to null, instead of undefined. Eg, maybe(T): T | undefined nullable(T): T | null |
||
---|---|---|
.. | ||
src | ||
types | ||
package.json | ||
tsconfig.json |