💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# has方法 判断集合中是否存在给定的键。 ``` $collection = collect(['account_id' => 1, 'product' => 'Desk']); $collection->has('product'); // true $collection->has('name'); // false ```