resultHeaderName()
Home > @gooddata/sdk-model > resultHeaderName
resultHeaderName() function
Returns item name contained within a result header.
Signature:
export declare function resultHeaderName(header: IResultHeader): string;
Parameters
Parameter | Type | Description |
---|---|---|
header | IResultHeader | header of any type |
Returns:
string
Remarks
Note that this can actually be null on some backends if your data contains NULL values. We will change the type of this to string | null in the next major (since it is a breaking change), but for now, if you expect NULLs in your data, treat this as string | null already.