/*! * Copyright (c) Microsoft. All rights reserved. */ export declare function isFunction(value: any): value is Function; /** * Indicates whether the value is an actual JS Object. * Returns false if value is an Array or Function instance. */ export declare function isObject(value: any): boolean; export declare function isDefined(value: any): boolean; export declare function isValue(value: any): boolean; export declare function isUndefined(value: any): boolean; export declare function isNullOrUndefined(obj: any): boolean; export declare function isNotNull(value: any): boolean; export declare function isBoolean(value: any): value is boolean; export declare function isBooleanOrNull(value: any): value is boolean; export declare function isBooleanOrUndefined(value: any): value is boolean; export declare function isNumber(value: any): value is number; export declare function isNonEmptyString(value: any): value is string; export declare function isString(value: any): value is string; export declare function isTypeScriptEnumValue(value: any, enumType: any): boolean; /** Checks if the value is an all-lowercase GUID. */ export declare function isGuid(value: any): boolean; export declare function isObjectOrPureObject(value: any): boolean; export declare type INotObject = boolean | string | number | any[] | Function; /** * Determines whether the value has the property specified explicitly on itself. * The value may be a Pure Object or an object that derives from Object, but is not an Array or Function. * Returns false if the value is an array or function. */ export declare function hasOwnProperty(obj: T, propertyName: K): boolean; export declare function hasOwnProperty(obj: object | INotObject, propertyName: string): boolean; export declare type IPrimitive = boolean | string | number; /** Returns a value indicating whether the value is a string, number or boolean. */ export declare function isPrimitive(value: any): value is IPrimitive;