UNPKG

excalibur

Version:

Excalibur.js is a simple JavaScript game engine with TypeScript bindings for making 2D games in HTML5 Canvas. Our mission is to make web game development as simple as possible.

5 lines (4 loc) 197 B
/** * Asserts will throw in `process.env.NODE_ENV === 'development'` builds if the expression evaluates false */ export declare function assert(message: string, expression: () => boolean): void;