inspect

package
v0.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasFields

func HasFields(value any, expressions ...string) ([]any, error)

HasFields checks which of the given JQ expressions resolve to existing (non-nil) fields on the provided object. Returns the values of all fields that exist. Callers check len(result) to determine if any fields were found.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL