looksLikeLuaFilePath function

bool looksLikeLuaFilePath(
  1. String source
)

Returns whether source looks like a filesystem path that Lua should treat as a chunk name instead of a literal inline source label.

Implementation

bool looksLikeLuaFilePath(String source) => _looksLikeFilePath(source);