Function readDirSync

  • Synchronously returns an array of the file names within path.

    Parameters

    Returns null | string[]

    Example

    for (const file of Switch.readDirSync('sdmc:/')) {
    // … do something with `file` …
    }

Generated using TypeDoc