3.0.0 • Published 4 years ago

is-obj v3.0.0

Weekly downloads
20,486,645
License
MIT
Repository
github
Last release
4 years ago

is-obj

Check if a value is an object

Keep in mind that array, function, regexp, etc, are objects in JavaScript.

See is-plain-obj if you want to check for plain objects.

Install

$ npm install is-obj

Usage

import isObject from 'is-obj';

isObject({foo: 'bar'});
//=> true

isObject([1, 2, 3]);
//=> true

isObject('foo');
//=> false

Related

  • is - Type check values

stringify-objectarchetype-libraryeasy-select-rnvuedragdropuploadimagesreact-native-bluetooth2killi8n-react-native-fast-image@cashremit/cr-streamline-iconsnode-red-contrib-motebuscloud-archive-s3airscanairscan-examplebb-chat@kappelmann/stringify-objectkappelmann-stringify-objectreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@texttree/demo-bsa-reference-rcl@fundefund/funde_ck@ntt_app/react-native-custom-notificationdiscord-music-botsreact-native-covid-sdkgql_din_mod@jttechnic/interpreter@saeon/quick-formmysql-formatreact-native-printer-brothers@newhorizon-tech/dd-npm-package-templatereact-native-shekhar-bridge-testcogoportutilsdyx-react@oiti/documentoscopy-react-native@mink-opn/build-tokensquoc-testreact-native-slider-kfunblock-block-save-variables@infinitebrahmanuniverse/nolb-is-oluminos-ui-coresklif-ui-kitsklif-api@everything-registry/sub-chunk-1934jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgp149-table@rabailriaz/hisaab-web-portalsklif-uireact-native-jawwy_samplegriffin-ui-librarytailwind-vector-effecttest-library-123test-haptik-libwinx-form-winxwhitelist-obj-propswithhold-message-avaweb-component-tester-bundlevue-button-test1wifi_configuration_packagewhatsconcteapackage-tatespoorman297sportscale-wifi-connectsticky-scroll-catchtest-zeo-collectsvavatarswift-dot-propvue-compmentvision-camera-plugin-face-detectorvision-camera-plugin-scan-facesvision-camera-base64-resizedvcloudcam-playkit-js-hlsvantiq-reactvite_vue3_ts_ssssdddddyyyyvs-tree-plusvue-dev-clone@dotconf-pro/dotconf-pro@dotconf-pro/dotenv@dptoot/stringify-object@ct-note/table@cs6/react-native-test-native-view-library@con-test/react-native-concent-common@damruravihara/react-native-testing-package@corelmax/react-native-my2c2p-sdk@praella/localisationist@pradeepgudipati/kovaad-chat-ui-kit-styles@prisma/photon-lib@positionex/position-sdk@rbc-public/react-selectable-fastgenerator-bootstrap-boilerplate-templatejesusdemojulien-easy-modaljson-key-validatejrennsoh88-react-native-scroll-indicatorjesh-calculationjnf-accesscontrol-rnttljordy-frijters-test-libis-git-clean
3.0.0

4 years ago

2.0.0

6 years ago

1.0.1

9 years ago

1.0.0

10 years ago