/** * 判断是否为普通对象 * @author 韦胜健 * @date 2019/10/15 22:19 */ import {typeOf} from "../object/typeOf"; export const isPlainObject = (val: any): val is Object => { return typeOf(val) === 'object'; }; export type PlainObject = Record