Is there a function f that f[`:/path/to/file] returns 0b if /path/to/file does not exist and returns 1b if /path/to/file exists?
Thanks.
ZHUO QL (KDr2) http://kdr2.com
Is there a function f that f[`:/path/to/file] returns 0b if /path/to/file does not exist and returns 1b if /path/to/file exists?
Thanks.
ZHUO QL (KDr2) http://kdr2.com
{not ()~key x}
That’ll work for files and directories.
Terry
thanks
ZHUO QL (KDr2) http://kdr2.com
On Wednesday, January 3, 2018, 11:48:37 PM GMT+8, Terry Lynch <tlyncher@gmail.com> wrote:
{not ()~key x}
That’ll work for files and directories.
Terry