attributeLocalId()
Home > @gooddata/sdk-model > attributeLocalId
attributeLocalId() function
Gets local identifier of an attribute.
Signature:
export declare function attributeLocalId(attributeOrId: IAttribute | Identifier): string;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| attributeOrId | attribute to work with or the identifier | 
Returns:
string
value of local identifier
Remarks
For convenience and fluency, this function accepts both attribute object and identifier.