Content-Length: 61633 | pFad | https://millsp.github.io/ts-toolbelt/modules/boolean_or.html

Boolean/Or | ts-toolbelt
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Or

Or<B1, B2>: object[B1][B2]

Logical || operator (behaves like the JS one)

Type parameters

returns

Boolean

example

import {B} from 'ts-toolbelt'

type test0 = B.Or<B.True, B.False>    // True
type test1 = B.Or<B.True, B.True>     // True
type test2 = B.Or<B.Boolean, B.False> // Boolean

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://millsp.github.io/ts-toolbelt/modules/boolean_or.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy