ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
mac.m
Go to the documentation of this file.
1%> \brief
2%> Return ``true`` if the current OS is MacOS (Darwin).
3%>
4%> \return
5%> ``itis`` : The output MATLAB logical scalar value that is ``true``
6%> if and only if the OS is MacOS (Darwin), otherwise ``false``.
7%>
8%> \interface{mac}
9%> \code{.m}
10%>
11%> itis = pm.os.is.mac()
12%>
13%> \endcode
14%>
15%> \example{mac}
16%> \include{lineno} example/os/is/main.m
17%> \output{mac}
18%> \include{lineno} example/os/is/main.out.m
19%>
20%> \final{mac}
21%>
22%> \author
23%> \JoshuaOsborne, May 21 2024, 11:46 PM, University of Texas at Arlington<br>
24%> \FatemehBagheri, May 20 2024, 1:25 PM, NASA Goddard Space Flight Center (GSFC), Washington, D.C.<br>
25%> \AmirShahmoradi, May 16 2016, 9:03 AM, Oden Institute for Computational Engineering and Sciences (ICES), UT Austin<br>
26function result = mac()
27 result = ismac;
28end
function mac()
Return true if the current OS is MacOS (Darwin).