import { AnyFunction, AnyObject } from 'yummies/types'; /** * Check if a value is not null or undefined * @param value the value to check * @returns boolean */ declare const isDefined: (value: T | undefined | null) => value is T; /** * Check if a value is null * @param value the value to check * @returns boolean */ declare const isNull: (value: unknown) => value is null; /** * Check if a value is undefined * @param value the value to check * @returns boolean */ declare const isUndefined: (value: unknown) => value is undefined; /** * Check if a value is an object * @param value the value to check * @returns boolean */ declare const isObject: (value: unknown) => value is AnyObject; /** * Check if a value is an array * @param value the value to check * @returns boolean */ declare const isArray: (value: unknown) => value is unknown[]; /** * Check if a value is a string * @param value the value to check * @returns boolean */ declare const isString: (value: unknown) => value is string; /** * Check if a value is a number * @param value the value to check * @returns boolean */ declare const isNumber: (value: unknown) => value is number; /** * Check if a value is a boolean * @param value the value to check * @returns boolean */ declare const isBoolean: (value: unknown) => value is boolean; /** * Check if a value is a function * @param value the value to check * @returns boolean */ declare const isFunction: (value: unknown) => value is AnyFunction; /** * Check if a value is a regular expression * @param value the value to check * @returns boolean */ declare const isRegExp: (value: unknown) => value is RegExp; /** * Check if a value is a DOM element * @param value the value to check * @returns boolean */ declare const isElement: (value: unknown) => value is HTMLElement; /** * Check if a value is NaN * @param value the value to check * @returns boolean */ declare const isNaN: (value: unknown) => boolean; /** * Check if a value is infinity * @param value the value to check * @returns boolean */ declare const isInfinite: (value: unknown) => boolean; /** * Check if a value is a symbol * @param value the value to check * @returns boolean */ declare const isSymbol: (value: unknown) => value is symbol; declare const _exports_isArray: typeof isArray; declare const _exports_isBoolean: typeof isBoolean; declare const _exports_isDefined: typeof isDefined; declare const _exports_isElement: typeof isElement; declare const _exports_isFunction: typeof isFunction; declare const _exports_isInfinite: typeof isInfinite; declare const _exports_isNaN: typeof isNaN; declare const _exports_isNull: typeof isNull; declare const _exports_isNumber: typeof isNumber; declare const _exports_isObject: typeof isObject; declare const _exports_isRegExp: typeof isRegExp; declare const _exports_isString: typeof isString; declare const _exports_isSymbol: typeof isSymbol; declare const _exports_isUndefined: typeof isUndefined; declare namespace _exports { export { _exports_isArray as isArray, _exports_isBoolean as isBoolean, _exports_isDefined as isDefined, _exports_isElement as isElement, _exports_isFunction as isFunction, _exports_isInfinite as isInfinite, _exports_isNaN as isNaN, _exports_isNull as isNull, _exports_isNumber as isNumber, _exports_isObject as isObject, _exports_isRegExp as isRegExp, _exports_isString as isString, _exports_isSymbol as isSymbol, _exports_isUndefined as isUndefined, }; } export { _exports as typeGuard };