IS_SYMLINK is path a symbolic link

Contents

inputs

Outputs

function [ok, b] = is_symlink(file, backend)
arguments
  file string
  backend (1,:) string = ["native", "java", "python", "dotnet", "sys"]
end

o = stdlib.Backend(mfilename(), backend);

if isscalar(file)
  ok = o.func(file);
else
  ok = arrayfun(o.func, file);
end

b = o.backend;

end