query
On this page

addCheck

lib.types.addCheck

Docs pulled from | This Revision | 20 minutes ago


Augment the given type with an additional type check function.


Noogle detected

Implementation

The following is the current implementation of this function.

addCheck = elemType: check: elemType // { check = x: elemType.check x && check x; };