Function include

  • include a file, method is called when include keyword is found

    Returns

    The file with the contents of the included file concatenated at the begining

    Parameters

    • file: string[]

      The current file as an array of lines

    • mainpath: string

      The path of the current file

    Returns string[]

Generated using TypeDoc