Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Checks whether the file path points to a package.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 13.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | Native path to the file or directory. | "/System/Applications/Preview.app" |
Returns 1, 0 or error.
Check preview app:
MBS( "Files.IsPackage"; "/System/Applications/Preview.app" )
Example result: 1
This function checks for a license.
Created 28th October 2023, last changed 28th October 2023