Function: statSync()
statSync(
path):Stats|undefined
Best-effort fs.stat (sync). Returns undefined for a blank path or when the
path can’t be stat’d (missing, permission denied, …), so callers can treat
“not there” and “not accessible” the same and never handle an exception.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Stats | undefined