@dxos/client
    Preparing search index...

    Variable setLabelConst

    setLabel: (entity: Entity.Mutable<Relation.Unknown>, label: string) => void

    Set the label of the relation. Must be called within a Relation.change callback.

    NOTE: TypeScript's structural typing allows readonly objects to be passed to Mutable<T> parameters, so there is no compile-time error. Enforcement is runtime-only.

    Type declaration