聲明 func Contain(target List<object>, value object) bool go 參數 輸入 名稱 類型 描述 目標 List 目標清單 值 Object 要檢查的指定元素 返回 類型 描述 Bool 是否包含指定元素