Function: extractImportLines()
extractImportLines(
fileContent):object
Defined in: packages/import/src/index.ts:659
Splits the contents of a GraphQL file into lines that are imports and other lines which define the actual GraphQL document.
Parameters
fileContent
string
Returns
object
importLines
importLines:
string[]
otherLines
otherLines:
string