cleanup, docs
This commit is contained in:
@@ -18,4 +18,4 @@ If `name` contains a colon, only the file portion is used for existence checks.
|
||||
This is useful when a page wants to render an optional component if it is present without hard-failing when it is missing.
|
||||
|
||||
:example
|
||||
print("component_exists example\n");
|
||||
print(component_exists("examples/sample_unit") ? "exists" : "not found", " / ", component_exists("no_such_component") ? "exists" : "not found", "\n");
|
||||
|
||||
Reference in New Issue
Block a user