libraryType()

Synopsis

Given a design library name, string , or "spec", returns a library type. If the library is not found, NoValue is returned.

Currently, only "TextFile" library types are supported. Other library types may be supported in the future.

Syntax

libraryType ( libspec As Any ) As Any 
Argument Type Description
libspec Any The design library as a name , string , or library spec.

Example 1

Intent >libraryType(:baseLib) 
--> "TextFile" 

Example 2

Intent >libraryType("baseLib") 
--> "TextFile" 

Example 3

Intent >libraryType(designLibrary(:basePart)) 
--> "TextFile" 

Example 4

Intent >libraryType(:unknownLib) 
--> NoValue 
libraryType() returned NoValue since the design library is nonexistent.