Initial Save
This commit is contained in:
7
node_modules/graphql/jsutils/invariant.mjs
generated
vendored
Normal file
7
node_modules/graphql/jsutils/invariant.mjs
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function invariant(condition, message) {
|
||||
var booleanCondition = Boolean(condition);
|
||||
|
||||
if (!booleanCondition) {
|
||||
throw new Error(message || 'Unexpected invariant triggered');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user