Using string as key for branded types instead of Symbol

For branded types (Schema.brand) is there any downside in using
string
as key instead of Symbol?

export const PrimaryKeyIndex = Schema.NonNegative.pipe(
  Schema.brand("PrimaryKeyIndex")
);
Was this page helpful?