This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
Is macOS

Is macOS 


 

Is macOS -> Function result 
Parameter Type   Description
Function result  Boolean in True if operating system = macOS, else False

The Is macOS command returns True if the current operating system is macOS.

Example  

You want to determine if the current operating system is macOS:

 If(Is macOS)
    ALERT("It's macOS")
 Else
    ALERT("It's not macOS")
 End if
 



See also 

Get system info
Is Windows

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 1572

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)