/**
 * BEGIN HEADER
 *
 * Contains:        Utility function
 * CVM-Role:        <none>
 * Maintainer:      Hendrik Erz
 * License:         GNU GPL v3
 *
 * Description:     This file contains a utility function to check a file.
 *
 * END HEADER
 */ import fs from "fs" ; param p return export default function isFile ( p ) { try { let s = fs . lstatSync ( p ) ; return s . isFile ( ) ; } catch ( e ) { return false ; } }