flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
8
BACK_BACK/node_modules/graphql/jsutils/isObjectLike.js.flow
generated
vendored
Executable file
8
BACK_BACK/node_modules/graphql/jsutils/isObjectLike.js.flow
generated
vendored
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
// @flow strict
|
||||
/**
|
||||
* Return true if `value` is object-like. A value is object-like if it's not
|
||||
* `null` and has a `typeof` result of "object".
|
||||
*/
|
||||
export default function isObjectLike(value: mixed): boolean %checks {
|
||||
return typeof value == 'object' && value !== null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue