4.9.76 • Published 2 years ago

@zitterorg/maiores-voluptates-illum v4.9.76

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@zitterorg/maiores-voluptates-illum 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('@zitterorg/maiores-voluptates-illum');
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

TypedArraycolorsloggertostringtaginvariantArray.prototype.containsroutingpnpm9pyyamlArrayphonedataviewhelpercall-boundwaftrimLeftebsconcatMaplinewrapcloudformationmapreducecode pointssns[[Prototype]]codescharsetwordwrapgroupECMAScript 2015poseObject.valuesconfigcloudtrailespreebeanstalkgetterkey valuermdirchromeStreamArrayBuffer.prototype.sliceArray.prototype.flatMapdependency managerdeep-copyscheme-validationiterationgenericscoerciblespinnerscorearraysymbolrateprivateuninstallTypeBoxtoolkitECMAScript 2019WeakMapfunction.lengthsortpushlockfileprotorangeerrorlaunchsetImmediateObject.getPrototypeOfJSONredactpipefigletexecutablefastifyparseprototypethroatpolyfilllimitedsearchimportreadablepruneprogressRegExp.prototype.flagsmergedeepoptiontypeofstructuredCloneestreeajaxkeyMicrosoftArrayBuffer#slicecollectionentriestypesfsschemaa11yutilitiesES2021s3bddpackage managerprotobufsuperagentdependenciestc39jsonpathmake direlbcolourttyzerotouchtapepostcssObservablesjsdiffl10nlintfast-deep-clonetrimtrimRightexeUint32ArraytypedwebsitecreatesliceopenchildconvertdynamodbkarmaAsyncIteratorinemojirm -rfFloat64ArraymonorepoutilitytestseseventDispatcherString.prototype.matchAllpropertieschaiURLmimemrui18nhasOwnminimalidECMAScript 5immerairbnbjsoneslint-pluginextendastformatECMAScript 7Object.fromEntriestakedefineenumerablesqstypescriptspawneast-asian-widthregular expressionsidecjktoSortedargumentsRFC-6455loadingiteratefast-clonepropstyleiteratorES7argskinesisescaperdseventEmitterPushassertsserializersettingsfullxdgownECMAScript 2017reuseweaksetpersistentlookpopmotionframercallboundeveryfilterregularclass-validatoridentifiersobject$.extendfileUint8ArraycloudfrontfastcopytoobjectWebSocketsetdefaultchineselogginglistenersshrinkwrapupfunctionalamazonarrayskeyscontainscoveragesuperstructprivate datadebugFunction.prototype.namejshintgroupByES2015installsameValueZeroswfES2016randomnativeUint16ArrayrapiderroremroutpututilYAMLlrupackagejsxfind-upmakeworkerhas-ownlimitprefixes-abstractvaluesdiffchannelcensorObject.assign256ES2019reactBigInt64ArrayimmutableinputiconvnegativesetterPromisejavascriptvpcdeep-clonecss-in-jsxdg-openworkflowSettddoncexhrsimple cachelogformsclonebindschemejasminepostcss-plugininstrumentationglacierautoscalingendertsstringifierobjdatesharedarraybufferxtermsymbolsECMAScript 2023typaniontypeerror3dmobileindicatorargumentArray.prototype.findLastIndexlengthes8libphonenumberquotees6redux-toolkitbundlingcircularasciiinternalrgbperformantUint8ClampedArrayduplexform-validationwaapithreelanguagegraphqlreadkey parObservablegetoptparserexpressenvironmentsimpledbes-shimsregexpextrapicomatchfull-widthoptimizeragentflatsequenceaccessorvisualdeterministiccommand-linewidthWeakSetstabledataViewcallbackArray.prototype.flatMapgdprreact animationaccessibilitycallarktypeguidcompilerecmascriptnpmqscore-jsstartcheckbrowserslistglobbrowserlistratelimitBigUint64Arrayes5dotenv_.extendwalkwaitmodulecallbindUnderscorehttpssomestoragegatewayelasticacheredirectCSSnodevalidjsdomflattenmomenthookformpositivematchAlleventsimportexportdescriptorbytefindLasttelephonesyntaxbannerArray.prototype.filtervalidationlazyparentsmatchesInt16Arrayurldescriptorsrm -frmime-dbECMAScript 2020warningshimmodulesfunctionsutil.inspect@@toStringTagES2017Symboles2016forEachargvpromisecomputed-typestyped arraywalkingreact-testing-libraryformattingbundlerrecursivesafeappcharactersponyfillECMAScript 3Float32ArraynodejstermconsumecloudsearchmkdirsassertroutechromiuminspectdropECMAScript 2022internal slotesInt32Arrayprotocol-bufferses2015parsingvestspecapollomoveconcatECMAScript 6wgetresolvebuffersnamebusyvalidateenvsymlinksefficientsymlinkiamRxRegExp#flagshascliObject.isprocessshebangautoprefixerassigneslintconfigArrayBufferReactiveExtensionstestingArray.prototype.findLastopensdirES2020stdlibeditorisConcatSpreadablehardlinkstoStringTagpackage.jsontypesafe-0byteLengthio-tsformfetchajvcssgesturesstyled-componentsObject.keysCSSStyleDeclarationpathstreamECMAScript 2021ReactiveXHyBitapbreakbuffer0jsawaityupjoireact-hook-forminferencedeepclonespinnerfromtraversepropertyquerymulti-packagepreserve-symlinksomitglobalsvieweslintpluginStyleSheetyamldebuggerendpointES2023mimetypesfunctiondirectorymochaObjectqueueMicrotaskemitcommandercall-bindreact poseserializationavaECMAScript 2016expressionjson cacheistanbulruntimeawesomesaucebrowserkoreanperformancecompareequalityroute53reducergetOwnPropertyDescriptorvariablesInt8ArrayreducecharacterdomanimationgetintrinsicgetPrototypeOfString.prototype.trimnamesglobaljestconfigurablefast-copylook-upfastcloneECMAScript 2018isshelllinkStreamsReflect.getPrototypeOfrequestregexdatabluebirddatastructurewritableelectronweakmapincludesarraybuffercachepromisesworkspace:*uuid__proto__terminalRxJSurlseslintEScolumnslastnegative zeroes-shim APIshamcommandartmkdirfoldergetmapcmdhelpersawstslibcurlhigher-orderstringjQueryArray.prototype.flattenTypeScriptdeletestreamsspringthrottlequerystringdeepcopyflatMapexecvarsfast-deep-copyserializeboundansitextfindupconsoleloadbalancingObject.entriesremoveintrinsicESnextfindprettywhatwgunicodemetadatabatchassertion.envierobust
4.9.76

2 years ago

4.9.75

2 years ago

4.8.74

2 years ago

4.8.73

2 years ago

4.8.75

2 years ago

4.8.70

2 years ago

4.8.72

2 years ago

4.8.71

2 years ago

4.8.67

2 years ago

4.8.69

2 years ago

4.8.68

2 years ago

4.8.63

2 years ago

4.8.65

2 years ago

4.8.64

2 years ago

4.8.66

2 years ago

3.8.47

2 years ago

3.8.48

2 years ago

3.8.45

2 years ago

3.8.46

2 years ago

3.8.44

2 years ago

4.8.61

2 years ago

4.8.60

2 years ago

4.8.62

2 years ago

2.8.41

2 years ago

4.8.50

2 years ago

4.8.52

2 years ago

4.8.51

2 years ago

4.8.54

2 years ago

4.8.53

2 years ago

4.8.56

2 years ago

4.8.55

2 years ago

4.8.58

2 years ago

2.7.39

2 years ago

4.8.57

2 years ago

2.7.38

2 years ago

4.8.59

2 years ago

2.8.44

2 years ago

2.8.43

2 years ago

2.8.42

2 years ago

2.7.37

2 years ago

2.7.36

2 years ago

2.7.35

2 years ago

2.7.40

2 years ago

4.8.49

2 years ago

4.8.48

2 years ago

2.6.34

2 years ago

2.6.35

2 years ago

2.7.41

2 years ago

1.6.29

2 years ago

1.6.31

2 years ago

1.6.30

2 years ago

1.6.33

2 years ago

1.6.32

2 years ago

1.6.34

2 years ago

1.6.28

2 years ago

1.6.24

2 years ago

1.6.26

2 years ago

1.6.25

2 years ago

1.6.27

2 years ago

1.6.22

2 years ago

1.6.23

2 years ago

1.5.22

2 years ago

1.4.20

2 years ago

1.4.22

2 years ago

1.4.21

2 years ago

1.3.13

2 years ago

1.3.14

2 years ago

1.3.12

2 years ago

1.3.17

2 years ago

1.3.18

2 years ago

1.3.15

2 years ago

1.3.16

2 years ago

1.4.19

2 years ago

1.4.18

2 years ago

1.3.10

2 years ago

1.3.11

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago