Function: controlId()
controlId(
id):ControlId
Defined in: src/core/types/branded.ts:161
Create a branded ControlId from a raw string.
Parameters
id
string
Raw control ID string.
Returns
Branded control ID.
Example
import { controlId } from '#core/types/branded.js';
const id = controlId('submitButton');