Type alias IsBranded<T, Brand>

IsBranded<T, Brand>: keyof NonNullable<T> extends keyof Omit<NonNullable<T>, Brand> ? false : true

Type will be true is T is branded with Brand, false otherwise

Type Parameters

  • T

  • Brand extends symbol

Generated using TypeDoc