6.13.121 • Published 12 months ago

@patrtorg/autem-et-hic v6.13.121

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@patrtorg/autem-et-hic Version Badge

github actions coverage License Downloads

npm badge

Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.

Examples

const isAccessorDescriptor = require('@patrtorg/autem-et-hic');
const assert = require('assert');

const obj = {
	get foo() {},
	bar: { get: function() {} }
};

assert.equal(true, isAccessorDescriptor(obj, 'foo'));
assert.equal(false, isAccessorDescriptor(obj, 'bar'));

// or, if you already have the descriptor you can pass it directly
const foo = Object.getOwnPropertyDescriptor(obj, 'foo');
assert.equal(true, isAccessorDescriptor(foo));

const bar = Object.getOwnPropertyDescriptor(obj, 'bar');
assert.equal(false, isAccessorDescriptor(bar));

Related projects

You might also be interested in these projects:

  • is-data-descriptor: Returns true if a value has the characteristics of a valid JavaScript data descriptor.
  • is-descriptor: Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for… more
  • is-object: Returns true if the value is an object and not an array or null.

Tests

Simply clone the repo, npm install, and run npm test

execsetImmediatepruneebsECMAScript 2017getPrototypeOfescapeReflect.getPrototypeOfcolorscode pointstyped arraybrowserreplayowncryptofigletwatchertoolkitdependency manageroptimistcallboundspinnercompilerHyBilesscssdescriptionfastcopycharacterObject.keysequalec2ECMAScript 2021stringifypackage managerwhatwgregular expressionpostcss-pluginbreakmiddleware0valuexhrformattingrecursivestylesheetrm -fremitschemeutilitiesECMAScript 2018styled-componentslimitES2019ansibcryptairbnbhasOwnPropertyES5toobjectreal-timebluebirdArraycoresharedstreamswritablereact-hookspreprocessortrimserializeUint32Arraydescriptorscompile lesstypedpredictableiterationsqslistenerslimitedspeedasciiRFC-6455mergequerystringnametelephonequeueJSONstableredux-toolkittermbusyreducefastwhichphoneenvironmentawsquerydebuggerstoragegatewayidleqsshrinkwrapdominferenceautoscalingclassnamejestObject.valueses8parseRegExp#flagsmimebyteLengthcollectionfull-widthgetOwnPropertyDescriptorframeworksorthotcss nestingreuseexpressInt32ArrayforEachspectypescriptRegExp.prototype.flagsbddcloudfrontmatchesdeep-clonettyeslintconfigfast-cloneInt16Array@@toStringTagcryptcloudsearchauthxtermregularArrayBufferavaCSSStyleDeclarationmime-dbmodulesmobileassertsvariables in cssencryptionStreamchannelECMAScript 2022symbolargvcomputed-typesReactiveExtensionsmkdirrequireUint16Arraystdlibroute53dataArray.prototype.containsbundlingPromiseTypeBoxvalidationCSSbytetoArraycopyendpointrgb256regexpmonorepoextensionassertshamchaikeyrfc4122classnamesflatbootstrap lesscheckprotocollection.es6workerfunctionalFloat64Arrayuppackage.jsonreadefficienttappnpm9callbindeventDispatchertostringtagobjectoptimizermake dirdynamodbdeterministicwrapfixed-widtheslintregexchineseless cssvariablesproxyBigUint64Arrayfile systempropertyUint8Arraytypesparentstypedarrayrandomfast-copyconcurrencycloudwatchzodes2018flagjsdiffpushfind-upcodeshooksgetoptReactiveXes2016deepclonejsonobjstarterargsswfdiffObject.fromEntriesiteratescheme-validationtoStringTagsymlinksentrieseslint-pluginproperties
@patrtorg/numquam-doloribus-sit@patrtorg/doloribus-aperiam@patrtorg/dolorum-blanditiis@patrtorg/dolorum-quisquam-molestias@patrtorg/eaque-tempore-temporibus@patrtorg/ducimus-hic@patrtorg/eaque-dolorem-iusto@patrtorg/enim-culpa@patrtorg/enim-quas@patrtorg/est-corrupti@patrtorg/est-corrupti-deleniti@patrtorg/error-expedita-rerum@patrtorg/esse-ut@patrtorg/esse-occaecati-quos@patrtorg/ex-iure@patrtorg/expedita-deleniti-ratione@patrtorg/expedita-eaque-at@patrtorg/fugiat-beatae-quas@patrtorg/fugiat-perspiciatis@patrtorg/fugit-cumque@patrtorg/illo-saepe@patrtorg/hic-facere-ratione@patrtorg/itaque-beatae@patrtorg/iste-sunt@patrtorg/iure-at@patrtorg/labore-nemo-impedit@patrtorg/magnam-aut-adipisci@patrtorg/molestiae-nulla-architecto@patrtorg/modi-aut-dolorem@patrtorg/modi-officia-iusto@patrtorg/nihil-at@patrtorg/nihil-vero-ipsa@patrtorg/pariatur-sapiente@patrtorg/quia-laborum-porro@patrtorg/qui-dolore@patrtorg/quidem-dolore@patrtorg/qui-omnis-voluptates@patrtorg/similique-nam@patrtorg/sed-laudantium-nemo@patrtorg/sapiente-sed-eius@patrtorg/sapiente-eos-magnam@patrtorg/sed-veritatis-placeat@patrtorg/soluta-quo@patrtorg/nisi-perferendis@patrtorg/perspiciatis-possimus@patrtorg/quo-cupiditate-sit@patrtorg/saepe-tenetur-iusto@patrtorg/repellendus-ex@patrtorg/repudiandae-dolore@patrtorg/repellat-quam@patrtorg/tempora-quas@patrtorg/tempore-cumque@patrtorg/vero-quibusdam-ipsa@patrtorg/maiores-adipisci-maxime@patrtorg/nostrum-beatae-a@patrtorg/nobis-assumenda-optio@patrtorg/nobis-nobis@patrtorg/quas-sed-id@patrtorg/reiciendis-doloribus-officia@patrtorg/soluta-numquam@patrtorg/soluta-et@patrtorg/neque-consectetur@patrtorg/neque-voluptatem@patrtorg/odit-facere@patrtorg/officiis-qui@patrtorg/odio-ratione@patrtorg/officiis-dolorum@patrtorg/quos-hic@patrtorg/similique-vero-sapiente@patrtorg/sit-ipsam-dolore@patrtorg/suscipit-sit-culpa@patrtorg/tempora-impedit-dolore@patrtorg/porro-voluptates@patrtorg/quod-asperiores@patrtorg/tenetur-aut@patrtorg/tempore-labore-mollitia@patrtorg/totam-accusamus@patrtorg/veritatis-vel-amet@patrtorg/veritatis-ad-voluptates@patrtorg/occaecati-reiciendis-reiciendis@patrtorg/pariatur-repellendus-aspernatur@patrtorg/quo-in@patrtorg/sunt-distinctio-illo@patrtorg/sunt-asperiores@patrtorg/ullam-eum@patrtorg/ullam-doloremque@patrtorg/unde-cupiditate@patrtorg/animi-laboriosam-adipisci@patrtorg/aperiam-quaerat@patrtorg/aspernatur-assumenda@patrtorg/aspernatur-dolorum-ducimus@patrtorg/architecto-laudantium@patrtorg/aspernatur-repellendus-assumenda@patrtorg/assumenda-officia@patrtorg/assumenda-qui@patrtorg/assumenda-ipsam@patrtorg/aspernatur-laborum@patrtorg/at-sunt-itaque@patrtorg/commodi-illo@patrtorg/beatae-quas
6.11.110

1 year ago

6.11.109

1 year ago

6.11.105

1 year ago

6.11.106

1 year ago

6.11.107

1 year ago

6.13.113

1 year ago

6.11.108

1 year ago

6.11.102

1 year ago

6.11.103

1 year ago

6.11.104

1 year ago

6.10.100

1 year ago

6.10.101

1 year ago

6.10.102

1 year ago

6.13.114

1 year ago

6.13.115

1 year ago

6.13.116

1 year ago

6.13.117

12 months ago

6.13.118

12 months ago

6.13.119

12 months ago

6.10.99

1 year ago

6.13.120

12 months ago

6.13.121

12 months ago

6.12.113

1 year ago

6.12.111

1 year ago

6.12.112

1 year ago

6.12.110

1 year ago

6.10.98

1 year ago

5.9.86

1 year ago

3.7.37

1 year ago

5.9.87

1 year ago

3.7.38

1 year ago

3.7.35

1 year ago

3.7.36

1 year ago

5.9.82

1 year ago

3.7.33

1 year ago

5.9.83

1 year ago

3.7.34

1 year ago

5.9.84

1 year ago

3.7.31

1 year ago

5.9.85

1 year ago

3.7.32

1 year ago

5.9.80

1 year ago

5.9.81

1 year ago

3.5.19

1 year ago

3.5.18

1 year ago

3.7.39

1 year ago

3.7.30

1 year ago

5.9.75

1 year ago

5.9.76

1 year ago

5.7.51

1 year ago

5.9.77

1 year ago

5.9.78

1 year ago

3.5.22

1 year ago

5.9.71

1 year ago

3.5.21

1 year ago

5.9.72

1 year ago

3.5.20

1 year ago

5.9.73

1 year ago

5.7.50

1 year ago

5.9.74

1 year ago

5.9.70

1 year ago

3.7.40

1 year ago

3.7.41

1 year ago

5.9.79

1 year ago

5.9.64

1 year ago

5.9.65

1 year ago

5.9.66

1 year ago

5.7.43

1 year ago

5.9.67

1 year ago

5.7.42

1 year ago

5.7.49

1 year ago

5.7.48

1 year ago

5.9.68

1 year ago

5.7.45

1 year ago

5.9.69

1 year ago

5.7.44

1 year ago

5.7.47

1 year ago

5.7.46

1 year ago

3.7.26

1 year ago

3.7.27

1 year ago

3.7.24

1 year ago

3.7.25

1 year ago

3.7.22

1 year ago

3.7.23

1 year ago

3.7.28

1 year ago

3.7.29

1 year ago

3.6.22

1 year ago

6.9.93

1 year ago

6.9.92

1 year ago

6.9.91

1 year ago

6.9.90

1 year ago

6.9.95

1 year ago

6.9.94

1 year ago

5.8.63

1 year ago

5.8.64

1 year ago

3.4.15

1 year ago

3.4.16

1 year ago

3.4.17

1 year ago

3.4.18

1 year ago

5.8.60

1 year ago

5.8.61

1 year ago

5.8.62

1 year ago

4.7.41

1 year ago

4.7.42

1 year ago

6.10.97

1 year ago

6.10.96

1 year ago

6.10.95

1 year ago

6.9.89

1 year ago

6.9.88

1 year ago

6.9.87

1 year ago

5.8.52

1 year ago

3.3.13

1 year ago

5.8.53

1 year ago

3.3.14

1 year ago

5.8.54

1 year ago

3.3.15

1 year ago

5.8.55

1 year ago

5.8.51

1 year ago

3.3.12

1 year ago

5.8.56

1 year ago

5.8.57

1 year ago

5.8.58

1 year ago

5.8.59

1 year ago

2.3.12

1 year ago

2.3.11

1 year ago

2.2.9

1 year ago

1.2.9

1 year ago

2.2.10

1 year ago

2.3.10

1 year ago

1.2.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago