| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
FoundationModels.Available
Checks whether the model is available.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| FoundationModels | 15.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "FoundationModels.Available" )
Parameters
none
Result
Returns 1, 0 or error.
Description
Checks whether the model is available.Returns 0 if running on older macOS or iOS.
Returns 1 if models could be available.
Examples
Check whether available:
Set Variable [ $available; Value: MBS( "FoundationModels.Available" ) ]
See also
This function is free to use.
Created 26th September 2025, last changed 27th September 2025