lassoApp_include_current

Includes a resource relative to the current LassoApp.

Target function

Signature

1lassoApp_include_current(path::string, extra= ?)

Includes a resource relative to the current LassoApp.

lassoApp_include_current is a global callable that can be used wherever an expression is valid. lassoApp_include_current appears in project setup, source loading, or packaging code. Keep paths explicit, load reusable definitions once, and choose template mode only when literal output is part of the file.

Parameters

path
Required value of type string. Supply path positionally unless the signature shows a keyword form.
extra
Optional value. Supply extra positionally unless the signature shows a keyword form.

Examples

Basic call

1lassoApp_include_current('/views/sidebar.lasso')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.