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 to use | |
type |
(Optional) referenced object type |
Returns:
identifier reference
Remarks
see IdentifierRef for more information about identifier references