Function checkInclude

  • Check for an include keyword in a line, and return the contents of the included file if exists.

    Returns

    The included file's content and path

    Parameters

    • path: string

      path to the included file

    • line: string

      line of text with which to look for an include

    • errorInfo: error

      Error data in case one gets thrown

    Returns checkIncludeReturn

Generated using TypeDoc