Version: 0.0.10.0.20.0.30.0.40.0.50.0.6
export const throwIf = (condition, msg) => {
if (condition) throw new Error(`[Error]: ${msg} !`)
}
export const warnIf = (condition, msg) => {
if (condition) window.console.warn(`[Warning]: ${msg} .`)