6 lines
133 B
Go
6 lines
133 B
Go
|
package sway
|
||
|
|
||
|
func FindNodeByType(nodeType NodeType) func(n *Node) bool {
|
||
|
return func(n *Node) bool { return n.Type == nodeType }
|
||
|
}
|