9.10.126 • Published 10 months ago

@patrtorg/a-ut-amet v9.10.126

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

@patrtorg/a-ut-amet 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/a-ut-amet');
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

parseroutewritableObject.getPrototypeOfpackage managerArray.prototype.findLastlesskinesisCSSStyleDeclarationcommandertermArray.prototype.containsstringifyhasclientpatchRxJSbootstrap lessreact-hooksqsttyassertminimalStyleSheetwafhashopenlistenerslazyformattingObjectsetMapclassnamefluxserializevariables in csstypesclonesameValueZeroFloat32ArrayformReactiveExtensionsstreams2awsprotobufUint8ClampedArrayguidhotsharedmobilevaluesinvariantdynamodbprogressRxtc39bindgraphqltoolkitsortECMAScript 2018comparenodehasOwntoArrayapi[[Prototype]]functionelectronsymlinksPushcreatedescriptionObject.fromEntriesmochajQueryObject.assignpushlinkbluebirdshamjoicryptvariableseslintfullwidthsetterlimitwaitphoneargparseextensionterminalpipeefficientconcurrencyReactiveXio-tsless.jsSetsesbootstrap cssparenttestervisualArrayBuffer.prototype.sliceperformantloggingArraychaichromepackagescensorES2017tapeclassnamesless compilerec2directoryimmermime-dbstyleguideoptiontimeremoveglacierschemeemojiidleeventDispatcherpathassigntaskelmfast-deep-copyTypeBoxes2018gradients csseslintconfigprotoes5callbindRegExp#flagsInt32Arraytypescriptwatcherthrottles3watchingboundUint8Arraytrimreact-testing-librarynoperoute53getPrototypeOffromsharedarraybufferincludeselasticachemakecorsruntimeinputBigInt64Arrayresolvenegative zerovpcreact-hook-formtrimRightES2021keyshigher-orderequalUint32Arrayeslint-pluginaccessorqueuerequireflattencheckvestInt8Arrayrfc4122ObservableloadbalancingstringsetPrototypeOfstatesequenceyupenumerableJSONenderSymbol.toStringTagweakmapauthenticationarraytypedarrayintrinsicnegativeflatmatches
@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
9.10.125

10 months ago

9.10.126

10 months ago

9.10.124

10 months ago

9.9.120

10 months ago

9.9.121

10 months ago

9.9.122

10 months ago

9.9.123

10 months ago

9.9.124

10 months ago

8.9.116

10 months ago

8.9.115

10 months ago

8.9.117

10 months ago

9.9.117

10 months ago

9.9.118

10 months ago

9.9.119

10 months ago

7.8.112

10 months ago

7.8.111

10 months ago

8.9.114

10 months ago

8.9.113

10 months ago

8.9.112

10 months ago

7.9.112

10 months ago

7.8.109

10 months ago

7.8.108

10 months ago

7.8.110

10 months ago

6.8.108

10 months ago

6.8.107

11 months ago

6.8.106

11 months ago

6.7.106

11 months ago

6.7.105

11 months ago

6.7.104

11 months ago

6.7.103

11 months ago

6.7.102

11 months ago

6.7.101

11 months ago

2.3.28

1 year ago

2.3.27

1 year ago

2.3.29

1 year ago

2.3.24

1 year ago

2.3.26

1 year ago

2.3.25

1 year ago

5.5.48

1 year ago

5.5.49

1 year ago

5.5.46

1 year ago

5.5.47

1 year ago

2.3.30

1 year ago

5.6.73

12 months ago

5.6.72

12 months ago

5.6.75

12 months ago

5.6.74

12 months ago

5.6.71

12 months ago

5.6.70

12 months ago

5.6.77

12 months ago

5.6.76

12 months ago

5.6.78

12 months ago

5.6.62

12 months ago

3.4.36

1 year ago

5.6.61

12 months ago

5.4.40

1 year ago

3.4.37

1 year ago

5.6.64

12 months ago

3.4.38

1 year ago

5.6.63

12 months ago

3.4.39

1 year ago

5.6.60

1 year ago

3.4.31

1 year ago

3.4.32

1 year ago

3.4.33

1 year ago

3.4.34

1 year ago

3.4.35

1 year ago

5.6.69

12 months ago

4.4.39

1 year ago

5.4.45

1 year ago

1.1.21

1 year ago

5.4.46

1 year ago

1.1.20

1 year ago

5.6.66

12 months ago

5.4.43

1 year ago

5.6.65

12 months ago

5.4.44

1 year ago

5.6.68

12 months ago

5.4.41

1 year ago

5.6.67

12 months ago

5.4.42

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

5.4.39

1 year ago

5.6.59

1 year ago

5.6.58

1 year ago

2.4.31

1 year ago

1.0.20

1 year ago

5.6.57

1 year ago

2.4.30

1 year ago

5.6.56

1 year ago

5.7.95

11 months ago

5.7.92

11 months ago

5.7.91

11 months ago

5.7.94

11 months ago

5.7.93

11 months ago

5.7.90

11 months ago

2.2.24

1 year ago

2.2.23

1 year ago

5.7.85

11 months ago

5.7.84

11 months ago

5.7.87

11 months ago

5.7.86

11 months ago

5.7.81

11 months ago

5.7.80

11 months ago

5.7.83

11 months ago

5.7.82

11 months ago

6.7.100

11 months ago

6.7.95

11 months ago

6.7.96

11 months ago

6.7.97

11 months ago

6.7.98

11 months ago

6.7.99

11 months ago

1.2.23

1 year ago

1.2.21

1 year ago

1.2.22

1 year ago

5.7.89

11 months ago

5.7.88

11 months ago

5.5.51

1 year ago

5.5.52

1 year ago

5.5.50

1 year ago

5.7.78

12 months ago

5.5.55

1 year ago

5.5.56

1 year ago

5.5.53

1 year ago

5.7.79

12 months ago

5.5.54

1 year ago

1.0.15

1 year ago

1.0.11

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

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