package reflect
import "github.com/gohugoio/hugo/tpl/reflect"
Package reflect provides template functions for run-time object reflection.
Index ¶
Types ¶
type Namespace ¶
type Namespace struct{}
Namespace provides template functions for the "reflect" namespace.
func New ¶
func New() *Namespace
New returns a new instance of the reflect-namespaced template functions.
func (*Namespace) IsMap ¶
IsMap reports whether v is a map.
func (*Namespace) IsSlice ¶
IsSlice reports whether v is a slice.
Source Files ¶
- Version
- v0.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 7 hours ago –
Tools for package owners.