Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Boolean/BooleanOf"

Index

Type aliases

Type aliases

BooleanOf

BooleanOf<B>: BooleanOf<B>

Transform a boolean into a Boolean

Type parameters

  • B: boolean

    to transform

returns

Boolean

example

type test0 = B.BooleanOf<true>  // 1
type test1 = B.BooleanOf<false> // 0

Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.