@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
93 lines • 2.13 kB
TypeScript
/**
* @template T
* @param {Matcher<T>} matchers
* @return {Matcher<T>}
*/
export function anyOf<T_1>(...matchers: Matcher<T_1>): Matcher<T_1>;
/**
* @template T
* @param {Matcher<T>} matchers
* @return {Matcher<T>}
*/
export function allOf<T_1>(...matchers: Matcher<T_1>): Matcher<T_1>;
/**
* @template T
* @param {Matcher<T>} matcher
* @return {Matcher<T>}
*/
export function not<T_1>(matcher: Matcher<T_1>): Matcher<T_1>;
/**
* @template T
* @param {T} thing
* @return {Matcher<T>}
*/
export function equalTo<T_1>(thing: T_1): Matcher<T_1>;
/**
* @template T
* @param {T} thing
* @return {Matcher<T>}
*/
export function notEqualTo<T_1>(thing: T_1): Matcher<T_1>;
/**
* @template T
* @return {Matcher<T>}
*/
export function isNull<T_1>(): Matcher<T_1>;
/**
* @template T
* @return {Matcher<T>}
*/
export function isNotNull<T_1>(): Matcher<T_1>;
/**
* @template T
* @return {Matcher<T>}
*/
export function isUndefined<T_1>(): Matcher<T_1>;
/**
* @template T
* @return {Matcher<T>}
*/
export function isDefined<T_1>(): Matcher<T_1>;
export function isFinite(): IsFinite;
export function isInfinite(): Matcher<any>;
export function isInteger(): IsInteger;
/**
* @template T
* @param {Matcher|T} value
* @return {Matcher<T>}
*/
export function hasItem<T_1>(value: Matcher<any> | T_1): Matcher<T_1>;
/**
* @template T
* @param {T[]} array
* @returns {Matcher<T>}
*/
export function isIn<T_1>(array: T_1[]): Matcher<T_1>;
/**
* @template T
* @param {T} elements
* @return {Matcher<T>}
*/
export function isOneOf<T_1>(...elements: T_1): Matcher<T_1>;
/**
*
* @template T
* @param {string} [message]
* @return {Matcher<T>}
*/
export function anything<T_1>(message?: string): Matcher<T_1>;
/**
* @template T
* @param {string} [message]
* @return {Matcher<T>}
*/
export function nothing<T_1>(message?: string): Matcher<T_1>;
/**
* @template T
* @return {Matcher<T>}
*/
export function isNotUndefined<T_1>(): Matcher<T_1>;
import { Matcher } from "../Matcher.js";
import { IsFinite } from "./IsFinite.js";
import { IsInteger } from "./IsInteger.js";
//# sourceMappingURL=matchers.d.ts.map