HasFile — Dennispedia

HasFile

Returns whether a file exists at the specified path. Respects MOD/, LEVEL/, and RAW:.

This function is not officially documented.

This function was added in 0.6.1 (6279809).

Arguments

  1. string: Path relative to current file, or starting with MOD/, LEVEL/, or RAW:

Return values

  1. boolean: Whether a file or directory exists at the specified location