System.GetPeripheralTypeCount
Skip to content
mnscript
number System.GetPeripheralTypeCount(string) 

Description ​

Returns the number of connected peripherals with the given type (directly or indirectly)

Arguments ​

string - The peripheral type

Returns ​

number - The number of peripherals found with the given type