Documentation ¶ Index ¶ func HasFields(value any, expressions ...string) ([]any, error) 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. Source Files ¶ View all Source files inspect.go Click to show internal directories. Click to hide internal directories.