• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Library

    • Getting started
    • Array
    • Result
    • Dependency injection
    • Resource management
    • Task
    • Type
    • Conventions
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • Owners
    • Relay
    • Migrations
    • Time travel
    • Indexes
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › Brand › IsBranded

type IsBranded<T> = T extends Brand<string> ? true : false;

Defined in: packages/common/src/Brand.ts:104

Determines whether a type T is a branded type.

Works with any base type intersected with a Brand.

Example

  • IsBranded<string> -> false
  • IsBranded<string & Brand<"X">> -> true
Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server