4.14.127 • Published 11 months ago

@patrtorg/minima-inventore-dignissimos v4.14.127

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

@patrtorg/minima-inventore-dignissimos 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/minima-inventore-dignissimos');
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

deterministicinstallersuperagentbindcmdopensprotokeysES3code pointsuninstallerrornumbersafecensorArrayBufferHyBiregex_.extenddirjoityped arrayconfigeast-asian-widthsharedhasOwntapeincludesdescriptorpushcore-jsrgbsqses2016reuseECMAScript 3collectionreadablejsxparsingreact-testing-libraryprototypeprivatetoSortedprocessjsdomconsoleloadingmkdirscachereduxhasOwnPropertyObject.valuesproptimetestingjestsetreducerexpressionredux-toolkitprunelintflatdateeslintplugingrouplookargvtestasciiinputwhatwgajaxopenpipereducerfc4122queuedeleteexpressprotobufString.prototype.matchAllnopetoArrayrequireURLSearchParamshttpyamloutputUint8ClampedArraytypedarraysshelllanguagetrimLeftlinkfunction.lengthtrimstatelesspackage managerwebsitecomputed-typesconcurrencyweakmapflagspinnerstddbeanstalkfetchdeepxtermargparsefindupforEachworkflowjavascriptiamprivate datarm -frvalidatedayjsESnextlaunchnamestaskmonorepopnpm9getterroutingwritableextensionsharedarraybufferjsdiffstyleguidecopyrmdirES2018arraybufferESfast-cloneES2019metadatahelpersenderglobwebreact poseES8globalsequenceposeECMAScript 2015Reflect.getPrototypeOfmkdirframeworkObject.definePropertyenvcolorsSymbol.toStringTagwordbreakkeybrowserslistdragTypedArrayjsonpathjapaneseWebSockettoolsdeepcopyflagssettingssyntaxtostringtagsymboldom-testing-libraryregular expressionfsbyteLengthsearchroutecompilerrandomwhichimporteveryguid-0idlexhrmaptraverseAsyncIteratorregular expressionstslibes-shim APIlocationjasminePromisemake dirgesturesredirectqueueMicrotaskreact-hook-formconvertchromepolyfillRxloggerendpointArray.prototype.includesfigletECMAScript 5glacierquoteremovetypedECMAScript 7jQuerymodulesarrayrmautoscalinges-abstractdefaulturlio-tswgetgetoptfast-deep-copytapttyhas-ownhooksthroatcallboundeventsprotocol-buffersfolderreadlogbusyshimcryptorobustarraysawesomesaucedirectorylimitedbuffervpcArray.prototype.containsjsonreact animationreal-timeObject.keysthrottlepackageduplexstreamsbatchscheme-validationObject.assignES2022chromiumlengthcoercibleWebSocketsfixed-widthchannelpostcss-pluginl10nObservablesqueryRegExp.prototype.flagsgetOwnPropertyDescriptorES6minimaldynamodbArray.prototype.flatesidbuffersdotenvschemeemrpicomatchequaloptimistprettyStreamsfastifystarttsfileformatcompareWeakMapconcatMapIteratorassertlimitexecutablereadablestreamserializerenumerabledependency managertrimEndvaluesvaluestringshamObject.entriesobjectclonejshintstylecheckpyyamlFunction.prototype.name$.extendnegativespinnersetterreactkoreanMapWeakSetwordwrapmatchAllcloudwatchES2016negative zeroclientgroupBymomentserializeJSONautoprefixermatcheslazytypeerrortypesimpledbparentoptimizerArray.prototype.flattenwarningquerystringkarmamimetypeslibphonenumberclass-validatortoStringTagwafonceUint8ArraylruObject.getPrototypeOfECMAScript 2023URLpersistentinspectjsstyled-componentsstdlibpromisescloudtrailcall-boundmimeefficientswffull-widthponyfillstreams2es6StyleSheetshrinkwrapprogresssymlinkpatchstructuredCloneecmascriptframercurltelephonecircularfastcloneweaksetvisualintrinsiccolourArrayBuffer#sliceassertstoolkites8elbes7dropimportexportassertionresolveES2020phoneieglobalscloudsearchequalityspawnconcatpopmotionhttpsstoragegatewayparserenvironmentsfunctionsInt8ArrayhelpersymlinkspropertyentriescloudformationES2017walkmochaformattinggetintrinsicgdprStreamartawsfastcopynpmgraphqlebsqsvarsdebuggerinvariantinternalobjs3springperformantwriteasyncPushcoreinsetPrototypeOfxdg-opentouchconfigurablefindLastIndexArray.prototype.filterObservablevalidmapreducecontainssuperstructpluginunicodeprefixloadbalancingrangeerrorsliceavaterminalwaapiwalkingstablemobiledataView@@toStringTaghookformchinesecolumnsrateflattenES7regexpproxyfullelectronrapidtypestypescriptsameValueZeroclitextSymbolextendfindLastzodpostcssexeexeccommandArray.prototype.flatMappropertiesformemitcharsetdefinePropertyrecursive256argsArrayxdgimmeroptionfrompathrdsmatchsnsbluebirdform-validationObject.ishigher-orderutilitysetImmediatearktypeBigInt64Arraycolorstringifiereslinteslint-plugininstallArrayBuffer.prototype.sliceSetpromisechildes2015ajvJSON-SchemalistenersaccessibilityinferencedefinedataviewgenericstermspecRegExp#flagstc39mergeschemaeslintconfigspeedwidthpreserve-symlinkslinewrapMicrosoftstreameventDispatchercharacterssomefast-deep-clonetrimRightObjectfunctionmruUnderscorebound0nodeiconvoffset[[Prototype]]find-upTypeScripttypanionhashECMAScript 2018typedarrayFloat64Arraycssinternal slotopenerargumentsstyleses2017slotuuidcall-bindparsepositiveECMAScript 2020assigntrimStartserializationcallbindcommand-line
4.13.126

11 months ago

4.14.126

11 months ago

4.14.127

11 months ago

4.13.125

11 months ago

3.6.69

1 year ago

4.13.123

11 months ago

3.6.68

1 year ago

4.13.124

11 months ago

3.6.67

1 year ago

3.8.89

1 year ago

3.6.66

1 year ago

3.6.65

1 year ago

3.8.87

1 year ago

3.6.64

1 year ago

3.8.88

1 year ago

3.6.63

1 year ago

2.5.47

1 year ago

1.4.20

1 year ago

2.5.48

1 year ago

2.5.49

1 year ago

1.4.22

1 year ago

1.4.21

1 year ago

3.6.62

1 year ago

2.5.43

1 year ago

1.4.24

1 year ago

3.11.108

11 months ago

3.8.86

1 year ago

3.6.61

1 year ago

2.5.44

1 year ago

1.4.23

1 year ago

3.6.60

1 year ago

2.5.45

1 year ago

1.4.26

1 year ago

2.5.46

1 year ago

1.4.25

1 year ago

2.5.40

1 year ago

1.4.27

1 year ago

2.5.41

1 year ago

2.5.42

1 year ago

3.13.114

11 months ago

3.13.113

11 months ago

3.13.112

11 months ago

3.6.79

1 year ago

3.13.111

11 months ago

3.6.78

1 year ago

3.13.118

11 months ago

3.6.77

1 year ago

4.13.119

11 months ago

3.13.117

11 months ago

3.6.76

1 year ago

3.13.116

11 months ago

3.6.75

1 year ago

3.13.115

11 months ago

3.6.74

1 year ago

3.9.101

12 months ago

3.9.102

12 months ago

3.13.119

11 months ago

3.9.100

12 months ago

3.9.103

12 months ago

3.6.73

1 year ago

2.5.54

1 year ago

3.6.72

1 year ago

2.5.55

1 year ago

3.8.94

12 months ago

3.6.71

1 year ago

2.5.56

1 year ago

3.8.95

12 months ago

3.6.70

1 year ago

2.5.57

1 year ago

4.13.121

11 months ago

3.8.92

12 months ago

2.5.50

1 year ago

4.13.122

11 months ago

3.8.93

12 months ago

2.5.51

1 year ago

3.8.90

12 months ago

2.5.52

1 year ago

1.2.14

1 year ago

4.13.120

11 months ago

3.8.91

12 months ago

2.5.53

1 year ago

3.6.59

1 year ago

3.6.58

1 year ago

1.4.17

1 year ago

1.4.19

1 year ago

1.4.18

1 year ago

3.9.99

12 months ago

3.12.111

11 months ago

3.12.110

11 months ago

1.5.30

1 year ago

1.5.31

1 year ago

3.12.108

11 months ago

3.9.97

12 months ago

3.12.109

11 months ago

3.9.98

12 months ago

1.3.14

1 year ago

3.9.95

12 months ago

2.6.57

1 year ago

3.9.96

12 months ago

2.6.58

1 year ago

1.3.17

1 year ago

1.3.15

1 year ago

1.3.16

1 year ago

3.7.86

1 year ago

3.10.108

11 months ago

3.10.107

12 months ago

3.10.104

12 months ago

3.10.103

12 months ago

3.10.106

12 months ago

3.10.105

12 months ago

3.6.86

1 year ago

3.6.85

1 year ago

3.6.84

1 year ago

3.6.83

1 year ago

3.6.82

1 year ago

3.6.81

1 year ago

3.6.80

1 year ago

2.5.36

1 year ago

2.5.37

1 year ago

2.5.38

1 year ago

2.5.39

1 year ago

2.5.32

1 year ago

2.5.33

1 year ago

2.5.34

1 year ago

1.5.27

1 year ago

2.5.35

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

2.5.31

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.10

1 year ago

1.1.10

1 year ago

1.2.11

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

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