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.
libraryType ( libspec As Any ) As Any
Argument | Type | Description |
---|---|---|
libspec | Any | The design library as a name , string , or library spec. |
Intent >libraryType(:baseLib)
--> "TextFile"
Intent >libraryType("baseLib")
--> "TextFile"
Intent >libraryType(designLibrary(:basePart))
--> "TextFile"
Intent >libraryType(:unknownLib)
--> NoValue
libraryType() returned
NoValue
since the design library is nonexistent.