Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CoreML.Available

Whether CoreML is available.

Component Version macOS Windows Linux Server iOS SDK
CoreML 7.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "CoreML.Available" )

Parameters

none

Result

Returns 1, 0 or error.

Description

Whether CoreML is available.
Should return 1 on macOS 10.13 or newer or 0 on other versions.

Examples

Check availability:

If [ MBS("CoreML.Available") ≠ 1 ]
    Show Custom Dialog [ "Core ML not available" ; "Please run on macOS 10.13 High Sierra" ]
    Exit Script [ Text Result: "" ]
End If

Example Databases

This function is free to use.

Created 16th September 2017, last changed 16th September 2017


CoreML.AddUndefinedParameter - CoreML.Clear