UNPKG

graphdb

Version:

Javascript client library supporting GraphDB and RDF4J REST API.

30 lines (29 loc) 855 B
export = ObjectUtils; /** * Utility class for common object-related checks. * * @class */ declare class ObjectUtils { /** * Checks if the given object is strictly null. * * @param {*} object The object to check. * @return {boolean} True if the object is null, false otherwise. */ static isNull(object: any): boolean; /** * Checks if the given object is strictly undefined. * * @param {*} object The object to check. * @return {boolean} True if the object is undefined, false otherwise. */ static isUndefined(object: any): boolean; /** * Checks if the given object is either null or undefined. * * @param {*} object The object to check. * @return {boolean} True if the object is null or undefined, false otherwise. */ static isNullOrUndefined(object: any): boolean; }