Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
127 lines
No EOL
4 KiB
Text
127 lines
No EOL
4 KiB
Text
import type { Primitive } from '../types-hoist/misc';
|
|
import type { ParameterizedString } from '../types-hoist/parameterize';
|
|
import type { PolymorphicEvent } from '../types-hoist/polymorphics';
|
|
/**
|
|
* Checks whether given value's type is one of a few Error or Error-like
|
|
* {@link isError}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isError(wat: unknown): wat is Error;
|
|
/**
|
|
* Checks whether given value's type is ErrorEvent
|
|
* {@link isErrorEvent}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isErrorEvent(wat: unknown): boolean;
|
|
/**
|
|
* Checks whether given value's type is DOMError
|
|
* {@link isDOMError}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isDOMError(wat: unknown): boolean;
|
|
/**
|
|
* Checks whether given value's type is DOMException
|
|
* {@link isDOMException}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isDOMException(wat: unknown): boolean;
|
|
/**
|
|
* Checks whether given value's type is a string
|
|
* {@link isString}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isString(wat: unknown): wat is string;
|
|
/**
|
|
* Checks whether given string is parameterized
|
|
* {@link isParameterizedString}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isParameterizedString(wat: unknown): wat is ParameterizedString;
|
|
/**
|
|
* Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)
|
|
* {@link isPrimitive}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isPrimitive(wat: unknown): wat is Primitive;
|
|
/**
|
|
* Checks whether given value's type is an object literal, or a class instance.
|
|
* {@link isPlainObject}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isPlainObject(wat: unknown): wat is Record<string, unknown>;
|
|
/**
|
|
* Checks whether given value's type is an Event instance
|
|
* {@link isEvent}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isEvent(wat: unknown): wat is PolymorphicEvent;
|
|
/**
|
|
* Checks whether given value's type is an Element instance
|
|
* {@link isElement}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isElement(wat: unknown): boolean;
|
|
/**
|
|
* Checks whether given value's type is an regexp
|
|
* {@link isRegExp}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isRegExp(wat: unknown): wat is RegExp;
|
|
/**
|
|
* Checks whether given value has a then function.
|
|
* @param wat A value to be checked.
|
|
*/
|
|
export declare function isThenable(wat: any): wat is PromiseLike<any>;
|
|
/**
|
|
* Checks whether given value's type is a SyntheticEvent
|
|
* {@link isSyntheticEvent}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isSyntheticEvent(wat: unknown): boolean;
|
|
/**
|
|
* Checks whether given value's type is an instance of provided constructor.
|
|
* {@link isInstanceOf}.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @param base A constructor to be used in a check.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isInstanceOf(wat: any, base: any): boolean;
|
|
/**
|
|
* Checks whether given value's type is a Vue ViewModel.
|
|
*
|
|
* @param wat A value to be checked.
|
|
* @returns A boolean representing the result.
|
|
*/
|
|
export declare function isVueViewModel(wat: unknown): boolean;
|
|
/**
|
|
* Checks whether the given parameter is a Standard Web API Request instance.
|
|
*
|
|
* Returns false if Request is not available in the current runtime.
|
|
*/
|
|
export declare function isRequest(request: unknown): request is Request;
|
|
//# sourceMappingURL=is.d.ts.map |