4.9.76 • Published 1 year ago

@zitterorg/maiores-voluptates-illum v4.9.76

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

4.9.75

1 year ago

4.8.74

1 year ago

4.8.73

1 year ago

4.8.75

1 year ago

4.8.70

1 year ago

4.8.72

1 year ago

4.8.71

1 year ago

4.8.67

1 year ago

4.8.69

1 year ago

4.8.68

1 year ago

4.8.63

1 year ago

4.8.65

1 year ago

4.8.64

1 year ago

4.8.66

1 year ago

3.8.47

1 year ago

3.8.48

1 year ago

3.8.45

1 year ago

3.8.46

1 year ago

3.8.44

1 year ago

4.8.61

1 year ago

4.8.60

1 year ago

4.8.62

1 year ago

2.8.41

1 year ago

4.8.50

1 year ago

4.8.52

1 year ago

4.8.51

1 year ago

4.8.54

1 year ago

4.8.53

1 year ago

4.8.56

1 year ago

4.8.55

1 year ago

4.8.58

1 year ago

2.7.39

1 year ago

4.8.57

1 year ago

2.7.38

1 year ago

4.8.59

1 year ago

2.8.44

1 year ago

2.8.43

1 year ago

2.8.42

1 year ago

2.7.37

1 year ago

2.7.36

1 year ago

2.7.35

1 year ago

2.7.40

1 year ago

4.8.49

1 year ago

4.8.48

1 year ago

2.6.34

1 year ago

2.6.35

1 year ago

2.7.41

1 year ago

1.6.29

1 year ago

1.6.31

1 year ago

1.6.30

1 year ago

1.6.33

1 year ago

1.6.32

1 year ago

1.6.34

1 year ago

1.6.28

1 year ago

1.6.24

1 year ago

1.6.26

1 year ago

1.6.25

1 year ago

1.6.27

1 year ago

1.6.22

1 year ago

1.6.23

1 year ago

1.5.22

1 year ago

1.4.20

1 year ago

1.4.22

1 year ago

1.4.21

1 year ago

1.3.13

1 year ago

1.3.14

1 year ago

1.3.12

1 year ago

1.3.17

1 year ago

1.3.18

1 year ago

1.3.15

1 year ago

1.3.16

1 year ago

1.4.19

1 year ago

1.4.18

1 year ago

1.3.10

1 year ago

1.3.11

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago