tsafe
GitHub
Search
⌃K
Links
👋
What is tsafe?
⚙
How to import
UnionToIntersection
assert
id
is
Equals
symToStr
ReturnType
Parameters
Param0
objectKeys
exclude
typeGuard
capitalize/uncapitalize
Extends
Not
MethodNames
isPromiseLike
flip
objectEntries
objectFromEntries
🚧
withDefaults
📉
UnpackPromise
Powered By GitBook

Not

flip a boolean type
import type { Not } from "tsafe";
​
type A = Not<true>; // A is of type false
type B = Not<false>; // B is of type true
Usually for use with:
Equals
Previous
Extends
Next
MethodNames
Last modified 8mo ago