converse.js
Version:
Browser based XMPP chat client
32 lines • 1.04 kB
TypeScript
/**
* Merge the second object into the first one.
* @param {Object} dst
* @param {Object} src
*/
export function merge(dst: any, src: any): void;
/**
* @param {unknown} obj - The object to check.
* @returns {boolean} True if the object is an Error, false otherwise.
*/
export function isError(obj: unknown): boolean;
/**
* @param {unknown} val - The value to check.
* @returns {boolean} True if the value is a function, false otherwise.
*/
export function isFunction(val: unknown): boolean;
/**
* @param {unknown} x - The value to check.
* @returns {boolean} True if the value is undefined, false otherwise.
*/
export function isUndefined(x: unknown): boolean;
/**
* @param {unknown} o - The value to check.
* @returns {boolean} True if the value is an Error
*/
export function isErrorObject(o: unknown): boolean;
/**
* @param {import('@converse/skeletor').Model} model
* @returns {boolean}
*/
export function isPersistableModel(model: import("@converse/skeletor").Model): boolean;
//# sourceMappingURL=object.d.ts.map