Sha256: 650273d1c39c55ff869389e64cffe69461505026166ae304b149537abdf88f65
Contents?: true
Size: 226 Bytes
Versions: 26
Compression:
Stored size: 226 Bytes
Contents
export function invariant(condition, message) { const booleanCondition = Boolean(condition); if (!booleanCondition) { throw new Error( message != null ? message : 'Unexpected invariant triggered.', ); } }
Version data entries
26 entries across 26 versions & 1 rubygems