3.10.117 • Published 10 months ago

@erboladaiorg/nisi-id-consequatur v3.10.117

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

@erboladaiorg/nisi-id-consequatur 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('@erboladaiorg/nisi-id-consequatur');
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

pluginnegative zerostructuredClonehashvpcsomewordbreakfast-deep-cloneoptimizerhasOwnrequireArray.prototype.containsjsdiffemr__proto__definePropertyReactiveExtensionsregexpjasminepostcss-plugincore-jsbufferses2018utilitiesnameprettycheckpropertyimportsnsbufferes-shim APIcommand-lineresolvepicomatchenderruntimeyupURLSearchParamsvalidxtermloggerprotoargumentsidentifierstaskmergetypesdebuggerremoveawesomesauceincludesvalidationgetOwnPropertyDescriptor[[Prototype]]websitewrapnopearktypeArray.prototype.findLastjshintpositivefpssetregular expressionsserializationbundlingregularrgbchromeformatredux-toolkitmetadatadefaultcopyshrinkwrapcomputed-typescurleslintcode pointsrequestmimecollection.es6assertionparsercolorjsonpathhardlinkstoStringTagtsnodejsconcatMapdataviewes7east-asian-widthenvironmentsharedrdssuperagentimmerpyyamlenvironmentshooksObservableconfigurablestatelesssymbolaccessori18ninspectweaksetloadingtypesafeeslintpluginMicrosoftfastxhrtoolsdependency managerserializecallprefixES3ObjectES2016httpsfast-copyloggingbyteLengthkarmaes6bounddropoffsetescapeECMAScript 3iterationsymlinkECMAScript 2023valuesmomentES2022pipearraysearcheditorwebisConcatSpreadablebanneremojistyleargparsepropopenmimetypesparentinstallergettercallboundloadbalancingqueueUnderscorePusha11yextendrandomforEachecmascriptreactsharedarraybufferredirectinputes-abstractdataViewelbflagsconvertdescriptioncloudfrontRFC-6455filtermkdirsRegExp#flagsformattingtexterrorworkspace:*typedarraysdom-testing-librarylinkemitjsonnpmkoreanasciicodescolorsInt16ArraywarningECMAScript 2020threeuuidwalkvaluerecursivetypeerrormkdirpstartbluebirdlibphonenumberchineseenvsettingsin@@toStringTagnamesfindLaststringuninstalllimitedArray.prototype.filterslicetypedarrayhttpmake dirStyleSheetjestECMAScript 7accessibilityArrayBuffer#slicecollectiondragArrayclass-validatorapiESreadablestreamanimationlogcharacterfetcheventscloudsearchprivatepackage managerl10nreadableES2023inferencekeysclonetelephoneSymbol.toStringTagbddduplexsetImmediateratelimitcontainsexecutableObject.fromEntriesdeterministicclientspringelasticachecompilerbrowserlistgrouplazyObject.assigntypescriptcjkpackagesstreamflatextensiontoobjectmatchAllfind-upcharsetWebSocketsfunctionmovegesturesentriesnumber3dparsingshimtoArrayUint16Arraypnpm9Reflect.getPrototypeOfchanneldomcreatereal-timeterminalreact animationphonespawnsyntaxastonceconfigStreamthrottleshamtraversecommanderlistenersomitJSONSetutil.inspectArray.prototype.findLastIndexweakmapTypedArraytyped arraybatchec2databytedeep-copyawaitobjectminimalMapbundler256formcharactersdefineserializercssscheme-validationECMAScript 2015wgetECMAScript 6Rxrobust_.extendnegativejsdomCSSworkerebsdeepcopyspinnerscacheproxyframeworkfastcopysyntaxerrorCSSStyleDeclarationfastifyfast-deep-copylooktostringtagconsoleiteratorwhichpersistentsymbolsfolderartAsyncIteratorInt8Arrayframergetoptpath.envasyncwriteFloat64Arrayglobeslint-pluginmatchesWeakSetyamliamvariablesperformancewaitUint32ArrayespreereadfindLastIndexfixed-widthreact-hooksprocessECMAScript 2017importexportJSON-SchemaReactiveXcallbindexemodulematchs3assertpopmotionshebangfromfiglettoSortedObject.issuperstructes-shimsdatewidthstreams2private datadependencieshelpertoolkitwaffile systemargsFloat32ArraybinddeepObject.entriesprogressindicatorpushmapwhatwgRxJSArray.prototype.flattenawsmonorepo
@dramaorg/esse-praesentium-eligendi@dramaorg/quae-dolore-nostrum@erboladaiorg/ad-exercitationem-ducimus@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/asperiores-fuga-sint@erboladaiorg/asperiores-nam-adipisci@erboladaiorg/autem-dolores-ipsam@erboladaiorg/cum-commodi-consequatur@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/distinctio-tempora-quis@erboladaiorg/error-atque-ea@erboladaiorg/esse-ipsa-numquam@erboladaiorg/ex-hic-molestias@erboladaiorg/explicabo-eius-adipisci@erboladaiorg/fugiat-nobis-repellendus@erboladaiorg/laboriosam-inventore-natus@erboladaiorg/molestiae-voluptatibus-perferendis@erboladaiorg/molestias-nulla-dolor@erboladaiorg/nisi-culpa-cum@erboladaiorg/officia-illum-aperiam@erboladaiorg/perspiciatis-magni-ut@erboladaiorg/quae-in-veniam@erboladaiorg/quaerat-mollitia-adipisci@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/quod-explicabo-neque@erboladaiorg/sint-deleniti-dolorem@erboladaiorg/sit-nesciunt-amet@erboladaiorg/tenetur-architecto-dolore@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/velit-fugit-harum@juigorg/nisi-molestiae-ut@juigorg/sit-nam-neque@kollorg/dicta-itaque-nemo@kollorg/nihil-veniam-deserunt@swenkerorg/modi-dolorum-provident@swenkerorg/nulla-voluptates-voluptates@zitterorg/aspernatur-pariatur-occaecati@zitterorg/eum-veritatis-placeat@zitterorg/illum-perferendis-consecteturanalsorhost-simple-bscorcojs-qrcodecorcojs-qrcode-logodable-effectfiran-loggingsimple-assi-animationsimple-prompts-web3
1.1.29

1 year ago

1.1.28

1 year ago

3.9.112

11 months ago

3.9.113

11 months ago

3.9.110

11 months ago

3.9.111

11 months ago

3.9.116

10 months ago

3.9.114

10 months ago

3.9.115

10 months ago

1.1.30

1 year ago

2.7.66

1 year ago

1.1.31

1 year ago

3.9.109

11 months ago

3.9.107

11 months ago

3.9.108

11 months ago

3.9.101

11 months ago

3.9.102

11 months ago

3.9.100

11 months ago

3.9.105

11 months ago

3.9.106

11 months ago

3.9.103

11 months ago

3.9.104

11 months ago

3.8.69

12 months ago

3.8.68

12 months ago

2.3.49

1 year ago

2.3.48

1 year ago

2.3.47

1 year ago

2.5.65

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

2.5.63

1 year ago

2.5.64

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

3.8.78

12 months ago

3.8.79

12 months ago

3.8.76

12 months ago

3.8.77

12 months ago

2.3.57

1 year ago

2.1.34

1 year ago

2.3.56

1 year ago

2.3.59

1 year ago

2.1.32

1 year ago

2.3.58

1 year ago

2.1.33

1 year ago

3.8.74

12 months ago

2.3.53

1 year ago

1.1.23

1 year ago

3.8.75

12 months ago

2.3.52

1 year ago

2.1.31

1 year ago

1.1.22

1 year ago

3.8.72

12 months ago

2.3.55

1 year ago

1.1.21

1 year ago

3.8.73

12 months ago

2.3.54

1 year ago

1.1.20

1 year ago

3.8.70

12 months ago

1.1.27

1 year ago

3.8.71

12 months ago

1.1.26

1 year ago

2.3.51

1 year ago

1.1.25

1 year ago

2.3.50

1 year ago

1.1.24

1 year ago

3.9.99

11 months ago

3.10.117

10 months ago

3.10.116

10 months ago

3.9.90

11 months ago

3.9.97

11 months ago

3.9.98

11 months ago

3.9.95

11 months ago

3.9.96

11 months ago

3.9.93

11 months ago

2.3.60

1 year ago

3.9.94

11 months ago

3.9.91

11 months ago

3.9.92

11 months ago

2.6.66

1 year ago

2.6.65

1 year ago

3.9.79

12 months ago

2.2.39

1 year ago

2.2.37

1 year ago

2.2.38

1 year ago

2.2.35

1 year ago

2.2.36

1 year ago

2.2.34

1 year ago

3.7.68

12 months ago

3.7.66

12 months ago

3.7.67

12 months ago

3.9.88

11 months ago

3.9.89

11 months ago

2.2.46

1 year ago

2.2.47

1 year ago

2.2.44

1 year ago

2.2.45

1 year ago

3.9.86

11 months ago

2.2.42

1 year ago

3.9.87

11 months ago

2.2.43

1 year ago

3.9.84

11 months ago

2.2.40

1 year ago

3.9.85

11 months ago

2.2.41

1 year ago

3.9.82

12 months ago

2.4.61

1 year ago

3.9.83

12 months ago

2.4.60

1 year ago

3.9.80

12 months ago

2.4.63

1 year ago

3.9.81

12 months ago

2.4.62

1 year ago

1.1.14

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.13

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