MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / _checkPlatform

Function _checkPlatform

packages/core/file-system/index.ts:890–894  ·  view source on GitHub ↗
(knownFolderName: string)

Source from the content-addressed store, hash-verified

888
889 export namespace ios {
890 function _checkPlatform(knownFolderName: string) {
891 if (!__APPLE__) {
892 throw new Error(`The "${knownFolderName}" known folder is available on iOS only!`);
893 }
894 }
895
896 let _library: Folder;
897 export function library(): Folder {

Callers 8

libraryFunction · 0.85
developerFunction · 0.85
desktopFunction · 0.85
downloadsFunction · 0.85
moviesFunction · 0.85
musicFunction · 0.85
picturesFunction · 0.85
sharedPublicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected