UNPKG

@kontent-ai/smart-link

Version:

Kontent.ai Smart Link SDK allowing to automatically inject [smart links](https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-editing-from-preview#a-using-smart-links) to Kontent.ai according to manually specified [HTML data attri

10 lines 287 B
import { AssertionError } from './errors'; import { logError } from '../lib/Logger'; export function assert(condition, message) { if (!condition) { const error = AssertionError(message); logError(error); throw error; } } //# sourceMappingURL=assert.js.map