IS_ADMIN is the process run as root / admin

Contents

Outputs

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

o = stdlib.Backend(mfilename(), backend);
ok = o.func();
b = o.backend;

end