UNPKG

@lightningjs/threadx

Version:

A web browser-based JavaScript library that helps manage the communcation of data between one or more web worker threads.

19 lines (18 loc) 435 B
export declare function genTypeId(tidString: string): number; /** * Returns true if the given type ID is valid. * * @param typeId * @returns */ export declare function isValidTypeId(typeId: number): boolean; /** * Converts a type ID to its string form. * * @remarks * If the type ID is not a valid type ID, null is returned. * * @param typeId * @returns */ export declare function stringifyTypeId(typeId: number): string;