class Google::Cloud::Config

def alias? key

Returns:
  • (Symbol, nil) - The alias target, or nil if not an alias.

Parameters:
  • key (Symbol) -- The key to check for.
def alias? key
  target = @validators[key.to_sym]
  target.is_a?(::Symbol) ? target : nil
end