summaryrefslogtreecommitdiff
path: root/Utils/FileUtils.swift
blob: 58e7124b5c0182532c67089aaa5e550ebbbe2547 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
//  FileUtils.swift
//  PrySDR
//
//  Created by Jacky Jack on 29/11/2024.
//

import Foundation

func checkIfFileExists(_ fname: String) -> Bool {
    let fm = FileManager.default
    if fm.fileExists(atPath: fname) {
        return true
    }
    return false
}