Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

MeowType/Void

Repository files navigation

Void

Typescript void value on runtime

import { Void } from '@meowtype/void'

const x: void = Void
import { Void, isVoid, isVoidNonStrict } from '@meowtype/void'

isVoid(Void)
// true
isVoid(null)
// false

isVoidNonStrict(Void)
// true
isVoidNonStrict(null)
// true




Build

npm i
npm run build