function objectHelper.hasPropertyimport { objectHelper } from "https://deno.land/x/m_utils@v1.0.5/mod.ts"; const { hasProperty } = objectHelper; hasProperty(obj: Record<string, unknown>, key: string): boolean判断对象是否包含某个属性 ExamplesExample 1 objectHelper.hasProperty({a: 1}, 'a') // true objectHelper.hasProperty({a: 1}, 'b') // false objectHelper.hasProperty({a: 1}, '') // false Parametersobj: Record<string, unknown>目标对象 key: string查找的key Returnsboolean对象中是否有该属性