sec-edgar-api
Version:
Fetch and parse SEC earnings reports and other filings. Useful for financial analysis.
18 lines (17 loc) • 618 B
TypeScript
declare function toArray<T>(value: T): T;
declare function toNumber(value: any): number;
declare function toObject<T>(value: T): T;
declare function toString(value: any): string;
declare function toBoolean(value: any): boolean;
declare function parseKey(key: string): string;
declare function extractXbrlObject(value: any): any;
declare const utilXbrl: {
toArray: typeof toArray;
toNumber: typeof toNumber;
toObject: typeof toObject;
toString: typeof toString;
toBoolean: typeof toBoolean;
parseKey: typeof parseKey;
extractXbrlObject: typeof extractXbrlObject;
};
export default utilXbrl;