MCPcopy Create free account
hub / github.com/subquery/subql / hasValue

Function hasValue

packages/node-core/src/utils/object.ts:35–37  ·  view source on GitHub ↗
(obj: T | undefined | null)

Source from the content-addressed store, hash-verified

33}
34
35export function hasValue<T>(obj: T | undefined | null): obj is T {
36 return obj !== undefined && obj !== null;
37}
38
39export function customCamelCaseGraphqlKey(str: string) {
40 return str

Callers 4

nextProcessHeightMethod · 0.90
findMethod · 0.90
findMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected