(str: string)
| 4 | import {NETWORK_FAMILY, runnerMapping} from '@subql/common'; |
| 5 | |
| 6 | const lowerCaseFirst = (str: string) => str.charAt(0).toLowerCase() + str.slice(1); |
| 7 | |
| 8 | function isNetwork(network: string): network is NETWORK_FAMILY { |
| 9 | return !!network && lowerCaseFirst(network) in NETWORK_FAMILY; |
no outgoing calls
no test coverage detected