// IsNode returns true is the pass value is a valid Node.
//
// A Node is a value that could be rendered as HTML by itself. An int for example can be converted to a string which is
// valid HTML. An attribute would not be valid and doesn't make sense to cast to a string.
IsNode returns true is the pass value is a valid Node.

A Node is a value that could be rendered as HTML by itself. An int for example can be converted to a string which is
valid HTML. An attribute would not be valid and doesn't make sense to cast to a string.
// IsNode returns true is the pass value is a valid Node . // // A Node is a value that could be rendered as HTML by itself . An int for example can be converted to a string which is // valid HTML . An attribute would not be valid and doesn ' t make sense to cast to a string .
func IsNode(node interface{}) bool {
	switch node.(type) {
	case nil, string, HTML, Tagger,
		[]interface{}, *NodeGroup, []*Component, []*Tag, []Componenter, []Tagger, []UniqueTagger,
		int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64, float32, float64,
		*int, *int8, *int16, *int32, *int64, *uint, *uint8, *uint16, *uint32, *uint64, *float32, *float64,
		*string, *HTML:
		return true
	default:
		return false
	}
}
func IsNode ( node interface { } ) bool { switch node . ( type ) { case nil , string , HTML , Tagger , [ ] interface { } , * NodeGroup , [ ] * Component , [ ] * Tag , [ ] Componenter , [ ] Tagger , [ ] UniqueTagger , int , int8 , int16 , int32 , int64 , uint , uint8 , uint16 , uint32 , uint64 , float32 , float64 , * int , * int8 , * int16 , * int32 , * int64 , * uint , * uint8 , * uint16 , * uint32 , * uint64 , * float32 , * float64 , * string , * HTML : return true default : return false } }
IsNode returns true is the pass value is a valid Node.
IsNode returns true is the pass value is a valid Node .