idRef()
Home > @gooddata/sdk-model > idRef
idRef() function
Creates an IdentifierRef from object identifier and given object type.
Signature:
export declare function idRef(identifier: Identifier, type?: ObjectType): IdentifierRef;
Parameters
Parameter | Type | Description |
---|---|---|
identifier | Identifier | identifier to use |
type | ObjectType | (Optional) referenced object type |
Returns:
identifier reference
Remarks
see IdentifierRef for more information about identifier references