7.6.84 • Published 1 year ago

@dramaorg/est-impedit-quo v7.6.84

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@dramaorg/est-impedit-quo 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('@dramaorg/est-impedit-quo');
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

appeslint-pluginprotocol-buffersgroupByloadbalancingwebsitechromiumkeycensorECMAScript 5picomatchbindparentsjasmineansiredactprotoutil.inspecticuomitquerystringconsumequoteArrayBuffer.prototype.sliceESpropertiesstyleguideweakmapforkshellapollochannelprefixstable__proto__datereactcommand-lineeslintconfigspinnerfastcopyUnderscorelastextracoverageReactiveExtensionsshamtraverseshebangiampropemitsyntaxerrorrmdirmruisConcatSpreadableiteration_.extendlookRegExp#flagseslintwhichmapreduceagentes-shim APIfilegraphql-clientutilitymonorepoframertakeenvironmentcachecloudwatcheventsfasttrimLeftoutputio-tsextensionratelimitjeststartercolumnsmovereadablefastifymulti-packagecallbindECMAScript 2020ECMAScript 2022JSON-Schemaopenercheckstreampackage managerthrottleobjectajvfastclonelimitObject.keysaccessorsuperagentec2Array.prototype.includeserrorespreea11yvisuallimited@@toStringTagfast-deep-copyhas-ownidhasOwnmodulesbusygetoptpreserve-symlinksregular expressioniscollectionlockfilevestArray.prototype.filteres7pyyamlautoprefixeres-abstractistanbulTypeScriptwalkinglistenerses5ArrayBufferaccessibilitytelephonecode pointsjsonpopmotiontextruntimeECMAScript 2019hooksESnextpackage.jsonpropertywhatwgAsyncIteratorasciijoipackagesrgbstdlibcharsetfast-deep-clonees2017varsdeterministicObject.valuestermspecdropbinaryshimcodesestreesqscss-in-jsstringifiercharactereditorelbwordwrapbinariescolumnindicatorcallmatchdeep-copycollection.es6CSSStyleDeclarationdefineargumentsexpressdeleteloadingfigletescapehttppipeECMAScript 2017ES3clisymbolreducertypedarrayInt16ArrayemojigetOwnPropertyDescriptorconfigurableArray.prototype.containsautoscalingxtermnodejsFunction.prototype.namestatelessreact-hooksBigInt64ArraymimetypesurluprequiretypeerrorSetgenericses6testerhasOwnPropertyPushwritables3redux-toolkitvalidationdataView.envspinnersecmascriptremoveObject.getPrototypeOfinternalStreamES2021cloneexeHyBicommandrecursiveidentifiersenumerablecall-bind$.extendrandomUint32Arraybundlinges8StyleSheetpushassertes2015requestserializerargsefficientiteratorURLSearchParamsjshintmochafunctionES2017boundprogressoptimizergesturesoptimistpositiveSymbol.toStringTagiconvawesomesaucewordbreakdebuggermkdirsartendpointprototypeform-validationratedefaultdataviewtc39ES5Array.prototype.flatmake dirES2020TypeBoxsetES6privatejsximportclass-validatorrouteexecutespawnroute53assertsString.prototype.trimbeanstalkfromserializationYAMLbyteLengthterminalstreams2postcss-pluginpatchswfdescriptordescriptiontypedarraysargumentECMAScript 7Mappackagefast-cloneString.prototype.matchAlleventDispatcherspringcoloursyntaxconfignativetslibbannerflatMapspeedelasticachetoolsdefinePropertyObject.entriestyped arraywalkgetPrototypeOfrobustreadstylesqueuemimetypeoffsbatchfunctionalunicodecloudfrontbrowserslisthelperdescriptorsnameimmermkdirpObject.defineProperty256Object.assignstoragegatewaygetintrinsicES7eventEmittermatchAllchaivaluesidlerfc4122ES2015colorsetterconvertduplexfinddirsettings3dlaunchassertionnodestringifyWeakSetwriteObject.isequalitytrimRightreact posereact animationcharactersRxJSsetPrototypeOfloginferenceoffsetcontainslinewrapfunctionssubprocessvpcvalidatefolderkinesispnpm9proxyentriescoercibleArray.prototype.findLastIndexObject.fromEntriestypesafesymbolsWeakMapfile systemurlsinputviewjsonpathincludesairbnbinternal slotnumbersymlinksSymbolclientlook-upfetchamazonconcatMapObservablestyling-0xhrfull-widthcommandermomentObject[[Prototype]]ECMAScript 2021optionbrowserlistUint8Arrayexpressionimmutablewaapimergetypedfast-copycmdsearchBigUint64ArrayfullwidthcallbounduninstalltrimEndinvarianthttpsassigntimeinguidregular expressionsconcatdependenciesslottypesbyteOffsettrimStartReactiveXmapexecownieparentdom-testing-libraryreadablestreamyamllruloggerkarmaformprotobuffindupanimationarraysinstallerstructuredClonereact-testing-libraryuuidtaskawstoSortedtypecall-boundregexppersistenttypanionArray.prototype.flatMapmodulenegativetoolkitvaluesidemobileresolveWebSocketshelpersObservablestestingesWebSocketstyled-componentsforEachequalawaitcjkreact-hook-formhashregularvariablestoobjectsuperstructES2019cloudtrailbufferRxlocationxdg-openjsdifftapworkspace:*colorsIteratortoArrayschemeglobalsES2018jses-shimsgraphqltsserializefilterhaswidthwaitsharedarraybufferschemaflattendeeptapecloudsearchbreakES2022bddsnsbundlerfind-upprivate dataparserangeerrorredirectwgetajaxUint8ClampedArrayjavascriptECMAScript 2015i18nECMAScript 2016postcssphoneexecfileworkersameValueZerojapaneseECMAScript 3ebsstartmime-dbdeep-cloneelectronpromiserapidcore-jsrm -frshrinkwrapchromestylenopedebugjQuerymakepolyfillgroupgdprcompilergetterrminstrumentationUint16Arraydependency managerhookformworkflowl10ninspectqueueMicrotaskavascheme-validationtddes2018pruneCSSreusecurliterateextendwafbinarktypeES2023
6.4.45

1 year ago

6.4.47

1 year ago

6.4.46

1 year ago

6.4.49

1 year ago

6.4.48

1 year ago

6.6.56

1 year ago

6.6.57

1 year ago

7.6.59

1 year ago

7.6.58

1 year ago

7.6.57

1 year ago

5.2.41

1 year ago

5.2.40

1 year ago

7.6.62

1 year ago

7.6.61

1 year ago

7.6.60

1 year ago

7.6.66

1 year ago

7.6.65

1 year ago

7.6.64

1 year ago

7.6.63

1 year ago

4.2.20

1 year ago

7.6.69

1 year ago

4.2.21

1 year ago

7.6.68

1 year ago

4.2.22

1 year ago

7.6.67

1 year ago

5.2.39

1 year ago

5.2.38

1 year ago

5.2.37

1 year ago

5.2.36

1 year ago

5.2.35

1 year ago

5.2.34

1 year ago

5.2.33

1 year ago

5.2.32

1 year ago

5.2.31

1 year ago

5.2.30

1 year ago

3.2.13

1 year ago

3.2.12

1 year ago

3.2.15

1 year ago

3.2.14

1 year ago

3.2.17

1 year ago

3.2.16

1 year ago

3.2.18

1 year ago

7.6.73

1 year ago

7.6.72

1 year ago

7.6.71

1 year ago

7.6.70

1 year ago

7.6.77

1 year ago

7.6.76

1 year ago

7.6.75

1 year ago

3.2.11

1 year ago

7.6.74

1 year ago

7.6.79

1 year ago

7.6.78

1 year ago

5.2.29

1 year ago

6.4.50

1 year ago

5.2.28

1 year ago

5.2.27

1 year ago

5.2.26

1 year ago

5.2.25

1 year ago

5.2.24

1 year ago

5.2.23

1 year ago

4.2.18

1 year ago

5.4.45

1 year ago

5.2.22

1 year ago

4.2.19

1 year ago

5.4.43

1 year ago

5.4.44

1 year ago

5.4.42

1 year ago

7.6.80

1 year ago

7.6.84

1 year ago

6.5.55

1 year ago

7.6.83

1 year ago

6.5.54

1 year ago

7.6.82

1 year ago

7.6.81

1 year ago

6.5.56

1 year ago

6.5.51

1 year ago

6.5.50

1 year ago

6.5.53

1 year ago

2.2.11

1 year ago

6.5.52

1 year ago

5.3.42

1 year ago

5.3.41

1 year ago

2.2.10

1 year ago

2.2.9

1 year ago

1.2.8

1 year ago

1.1.8

1 year ago

1.2.9

1 year ago

1.1.7

1 year ago

1.1.6

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