HostSubType()
Description
Section titled âDescriptionâThe HostSubType Lua function returns a string with the host sub type of the station where the plugin is executed (for example, âFullSizeâ, âLightâ, âRPUâ, âonPCRackUnitâ, âUndefinedâ).
Arguments
Section titled âArgumentsâThis function does not accept any arguments.
- String:
The returned string is the host sub-type of the device.
Example
Section titled âExampleâThis example prints the host sub-type of the station in the Command Line History:
| Copy CodeLua |
| ``` |
| return function() |
Printf("The HostSubType is "..HostSubType())end