UNPKG

bluecodex

Version:

Turn repetitive dev tasks into CLI commands with Typescript

8 lines (6 loc) 170 B
import type { Arg } from "./arg"; export type IsNullableArg<A extends Arg> = A["optional"] extends true ? A["fallback"] extends null ? true : false : false;