Initial Save
This commit is contained in:
8
node_modules/graphql/jsutils/isInvalid.js.flow
generated
vendored
Normal file
8
node_modules/graphql/jsutils/isInvalid.js.flow
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// @flow strict
|
||||
|
||||
/**
|
||||
* Returns true if a value is undefined, or NaN.
|
||||
*/
|
||||
export default function isInvalid(value: mixed): boolean %checks {
|
||||
return value === undefined || value !== value;
|
||||
}
|
||||
Reference in New Issue
Block a user