{"version":3,"sources":["../src/rules/is-object.ts"],"sourcesContent":["/**\n * @file Check to ensure that the supplied value is an object.\n * @name isObject.js\n * @author Nick Krause\n * @license MIT\n */\nimport { createRule } from '../rule'\n\nexport const isObject = createRule({\n  condition: (obj) =>\n    !!obj &&\n    typeof obj === `object` &&\n    !Array.isArray(obj) &&\n    obj === Object(obj),\n  message: (notObj) => `Value must be an object, but has type ${typeof notObj}`,\n})\n"],"mappings":";;;;;AAAA,AAQO,IAAM,WAAW,WAAW;AAAA,EACjC,WAAW,CAAC,QACV,CAAC,CAAC,OACF,OAAO,QAAQ,YACf,CAAC,MAAM,QAAQ,GAAG,KAClB,QAAQ,OAAO,GAAG;AAAA,EACpB,SAAS,CAAC,WAAW,yCAAyC,OAAO;AACvE,CAAC;","names":[]}