lib/bolt/util.rb
def references?(input)
        if input.is_a?(Hash)
          input.key?('_plugin') || input.values.any? { |v| references?(v) }
        elsif input.is_a?(Array)
          input.any? { |v| references?(v) }
        else
          false
        end
      end
# Recursively searches a data structure for plugin references
Recursively searches a data structure for plugin references
Recursively searches a data structure for plugin references
def references?(input)
        if input.is_a?(Hash)
          input.key?('_plugin') || input.values.any? { |v| references?(v) }
        elsif input.is_a?(Array)
          input.any? { |v| references?(v) }
        else
          false
        end
      end
def references? ( input ) if input . is_a? ( Hash ) input . key? ( '_plugin' ) || input . values . any? { | v | references? ( v ) } elsif input . is_a? ( Array ) input . any? { | v | references? ( v ) } else false end end
Recursively searches a data structure for plugin references
Recursively searches a data structure for plugin references
input