Skip to content

One self-hosted app for your shows, movies and music.

156 B
Raw Blame
package parts

// PartOn reports whether part p is on; a nil Control has every part on.
func PartOn(c *Control, p Part) bool { return c == nil || c.On(p) }