@luma.gl/core
Version:
The luma.gl core Device API
5 lines • 314 B
TypeScript
/** Throws if condition is true and narrows type */
export declare function assert(condition: unknown, message?: string): asserts condition;
/** Throws if value is not defined, narrows type */
export declare function assertDefined<T>(value: T | undefined, message?: string): T;
//# sourceMappingURL=assert.d.ts.map