UNPKG

@inworld/web-core

Version:
7 lines (6 loc) 410 B
export declare const protoTimestamp: (date?: Date) => string; export declare const isIOSMobile: () => boolean; export declare const interpolate: (p: number) => number; export declare const safeJSONParse: <T = any>(str: string) => T | undefined; export declare const objectsAreEqual: <T>(a: T, b: T, keys: (keyof T)[]) => boolean; export declare const calculateTimeDifference: (from: Date, to: Date) => string;