IS_WRITABLE is path writable

Contents

Inputs

Outputs

function [ok, b] = is_writable(file)
arguments
  file string
end

if isscalar(file)
  ok = stdlib.legacy.is_writable(file);
  b = 'legacy';
else
  ok = stdlib.native.is_writable(file);
  b = 'native';
end

end