MCPcopy Create free account
hub / github.com/encodeous/nylon / String

Method String

polyamide/device/devicestate_string.go:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9var _deviceState_index = [...]uint8{0, 4, 6, 12}
10
11func (i deviceState) String() string {
12 if i >= deviceState(len(_deviceState_index)-1) {
13 return "deviceState(" + strconv.FormatInt(int64(i), 10) + ")"
14 }
15 return _deviceState_name[_deviceState_index[i]:_deviceState_index[i+1]]
16}

Callers

nothing calls this directly

Calls 1

deviceStateTypeAlias · 0.85

Tested by

no test coverage detected