geneea-nlp-client
Version:
The TypeScript Client for Geneea Interpretor G3 API.
17 lines (16 loc) • 786 B
TypeScript
/** Checks whether the nums sequence is a subsequence of integers, i.e. n, n+1, n+2, ... */
export declare function isSequential(nums: number[]): boolean;
/** Checks whether the nums sequence is sorted. */
export declare function isSorted(nums: number[]): boolean;
/**
* Converts an object to a human-readable representation.
* @param obj The target object.
* @param props A sequence of object properties to include in the output.
* @returns A human-readable string for the given object.
*/
export declare function objToStr(obj: any, props: string[]): string;
/**
* Converts a Map instance into an object with corresponding keys and values
* or null if the map has no entries.
*/
export declare function serializeMap(map: Map<string, unknown>): Record<string, unknown> | null;