The os.is function checks the current operating system identifier against a particular value.
os.is("id")
Parameters
id is one of the operating system identifiers bsd, linux, macosx, solaris, or windows.
Return Value
True if the supplied ID matches the current operating system identifier, false otherwise.


