require

Retrieves the script found at a given path as a module. The module is used to access exposed members of the required script.

Returns returns an object that represents exported members from the required module.

UsageReturns
require(path)Object
ArgumentTypeDetails
pathStringThe path to the script to include as a module. Paths must be absolute, such as: "users/homeFolder/repo:path/to/file".