2.10.118 • Published 11 months ago

@erboladaiorg/excepturi-repellat-sint v2.10.118

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

@erboladaiorg/excepturi-repellat-sint 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/excepturi-repellat-sint');
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

stablegetintrinsicaccessibilityargsidObservablerm -frstructuredCloneInt32Arrayinternaliconvregular expressionArray.prototype.findLastfast-deep-cloneES2015getOwnPropertyDescriptorproperty@@toStringTagcachejsmruyuprdsvalidationURLtestpackageworkspace:*springutil.inspectWeakSetstartfunction.lengthmapserializerformatSymbolforEachprivate data0negativepluginwgetutilshimec2bounddateArray.prototype.flatMapcomparematchAllsetterelbjoistoragegatewaytraversesortedcallcircularansiflagsdescriptorreact posetrimEndlengthregexTypedArrayregular expressionsreact-hook-formhigher-ordersymlinkreades2018mimebuffersmobilequeueMicrotasksharedarraybuffer-0reducefileprunepromisesTypeScriptponyfillhelpersquoteapollopostcssdirectoryObject.isreducertrimStartnegative zeroparseObject.definePropertyfetchdeterministicdefinePropertyviewanimationquerypackage managerflattenthreewebsiteprotoeverychannelcsslinkdeepsymlinksinputfromhashcloneargvwidthsetImmediateframerstylingl10nAsyncIteratortouchCSSstreamsdom-testing-libraryInt8ArraybyteOffsetposeassertioncharactersES6cloudwatchcloudtrailhasOwnPropertygesturesUnderscorefind-upcallboundES8tsendpointSetECMAScript 2022dynamodbfolderbrowsereventEmitterwritabletrimbatchObservablesregexpindicatordeep-copylogexpressionjsonoffsetcloudsearchES7xdgdayjseslint-pluginresolverequireiscomputed-typescontainsdragfindupproxylibphonenumberes2015rfc4122typescriptRegExp.prototype.flagscode pointsschemeIteratorexeccensorhas-owntddstarterstatelesswordwraplaunchbrowserlistbreakes2017whichlruenvironmentiterationparentargparsespecsortelectronthroat[[Prototype]]spinnersdependenciesmodulees2016defineredux-toolkitextensionoptimistfunctionsawaitfindLastIndextakebusyjQueryserializationconcurrencytypedarraysArray__proto__stringifierkeyJSON-SchemagraphqlxtermjavascriptecmascriptfullloadbalancinginspectpromiseString.prototype.matchAllfpstypedarrayonceflatMapES2019testingBigUint64Arraysideprefixdependency managerPushconcatcharacterfastcloneflatestreesetenvironmentscommandECMAScript 2019robust256popmotionbundlinglazyMicrosoftcore-jscore_.extendfull-widthtslibeditorgenericstc39immutabledefaultfssettingsdebuggerajaxshamjshinticuhardlinksWebSocketlastasyncArray.prototype.filterURLSearchParamsReactiveExtensionsECMAScript 2023persistentcolumnvisualmoveisConcatSpreadablevarsvariablesdescriptorsreact-testing-libraryminimalmakearrayscommandersameValueZerodataViewjsxhookformzodairbnbxdg-openCSSStyleDeclarationwhatwgaccessoromitqueuegettertoArraytermObject.assignPromisekoreanpackage.jsontoobjectECMAScript 2015Float64Arraycoerciblewalkingidleformes7avaoptimizerfilterfastifyeslintmapreducecharsetlimitpicomatchintrinsicpatchcolumnsi18nmonorepochinesehttpclienttoSortedarraybuffer$.extendincludesrmRFC-6455pathObject.keyspositivebindshellStreamshrinkwrapmkdircall-boundshebanges-shimssetPrototypeOfroute53Uint8ClampedArrayinternal slotscheme-validationstylesformattingtypeofpostcss-plugintapiteratorcloudfrontES2020sharedcolorsmergesymbolsartjsdompolyfillnamedescriptionloggingcallbackappMaprapidwaf.enviamparserworkflowthrottlestdlibBigInt64ArraydeepcopyWebSocketsbluebirdlocationconsumeutilitiesjsdifftypesvestsesECMAScript 2021make dirsnsRxJSframeworkdataArray.prototype.includesnpmfixed-widthroutingcolourObject.valuesprototypedebugrangeerrorowncall-bindmkdirstypedlintTypeBoxECMAScript 2020zerocallbindbuffergetglobECMAScript 3collectioninlockfilermdireast-asian-widthentriesvpcArrayBufferguidglobalextendidentifiersdiriterateFloat32ArrayeventDispatcherglaciermetadatafast-copyArray.prototype.flatworkerreadablenamesawsmime-dbes-abstractmochadeleteconsoleECMAScript 2016ES2022xhrenderlook-upbrowserslistemitperformanceInt16ArrayerrorprocesschildarktypeloadingtoolkittostringtagkarmaObject.fromEntriesspinnerSymbol.toStringTagtyped arrayArray.prototype.flattenopensimportswfautoprefixerconfigurabletoolslimitedoutputautoscalingclinativejestsuperagentpipeweaksetES2023EScompilercurlmulti-packagesyntaxerrorasciireact-hooksnopeUint8ArraycolormimetypesObject.getPrototypeOfreal-timelanguagees8removechromes3RxfastvalidparsingtrimLeftwaitdeepclonejasminefile systemcryptochromiumtypeerrorstringwebreact animationESnextemojiextrattyhasOwnloggerECMAScript 7bundlertypanionratelimitprogressnumbersymbolhelperprettyfullwidthredirectajvquerystringassertswaapimomentES2021qssuperstructassertformsUint16Arrayemramazonoptionregularcopyinvariantpackagescodesspeedratestreams2exegetoptES3walkgroupBypyyamlsimpledbrandomArray.prototype.findLastIndexprivatea11yunicodepushStreamsimportexportredacttesterString.prototype.trimimmerawesomesaucecloudformationinferenceYAMLfastcopyspawnlinewrapeventswarningconcatMapreadablestreamstyled-componentsvaluesargumentECMAScript 5cmdFunction.prototype.nameweakmapes-shim APIform-validation3dfast-cloneECMAScript 2017stylereactjapanesejsonpathesvaluetextobjprotobufUint32Arrayserializebanneruninstallpreserve-symlinkskeysuuidtelephonetypesafeespreeclass-validatormatchesObject.entriesrouteagentcss-in-jsinstallernodejstimesearcheslintpluginpropertiesruntimeReactiveXsafeinstalleslintconfigRegExp#flagsrgbphonedomglobalsperformantcommand-linegroupdatastructuredropyamlchaimkdirpcollection.es6validatesomegdprrm -rfES2018efficienttapestyleguideexpressHyBifindLastenumerablearraytoStringTages5ES2016Array.prototype.containsrequestslotObjecturlurlsgetPrototypeOfes6matchequalityutilitysyntaxReflect.getPrototypeOfECMAScript 6createio-tsieterminalfast-deep-copytypewordbreakopenerStyleSheetapiArrayBuffer#sliceES2017dotenvlookkinesishooksfigletescapestreamflagobjectECMAScript 2018configargumentsbytepnpm9elasticacheebstrimRightduplexcjkbddexecutableJSONprotocol-buffersschemasequencefunctionparentsrecursivelisteners
dable-effectfiran-loggingcorcojs-qrcodecorcojs-qrcode-logosimple-prompts-web3analsorhost-simple-bssimple-assi-animation@juigorg/sit-nam-neque@juigorg/nisi-molestiae-ut@kollorg/dicta-itaque-nemo@erboladaiorg/error-atque-ea@erboladaiorg/nisi-culpa-cum@erboladaiorg/quae-in-veniam@dramaorg/quae-dolore-nostrum@erboladaiorg/ex-hic-molestias@kollorg/nihil-veniam-deserunt@erboladaiorg/esse-ipsa-numquam@erboladaiorg/sit-nesciunt-amet@erboladaiorg/velit-fugit-harum@zitterorg/eum-veritatis-placeat@erboladaiorg/autem-dolores-ipsam@erboladaiorg/asperiores-fuga-sint@erboladaiorg/quod-explicabo-neque@swenkerorg/modi-dolorum-provident@dramaorg/esse-praesentium-eligendi@erboladaiorg/molestias-nulla-dolor@erboladaiorg/officia-illum-aperiam@erboladaiorg/perspiciatis-magni-ut@erboladaiorg/sint-deleniti-dolorem@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/asperiores-nam-adipisci@erboladaiorg/cum-commodi-consequatur@erboladaiorg/distinctio-tempora-quis@erboladaiorg/explicabo-eius-adipisci@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/fugiat-nobis-repellendus@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/ad-exercitationem-ducimus@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/quaerat-mollitia-adipisci@erboladaiorg/tenetur-architecto-dolore@swenkerorg/nulla-voluptates-voluptates@erboladaiorg/laboriosam-inventore-natus@zitterorg/aspernatur-pariatur-occaecati@zitterorg/illum-perferendis-consectetur@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/molestiae-voluptatibus-perferendis
1.7.92

1 year ago

1.7.93

1 year ago

1.6.51

1 year ago

1.6.50

1 year ago

1.6.53

1 year ago

1.6.52

1 year ago

1.6.55

1 year ago

1.6.54

1 year ago

1.6.57

1 year ago

1.6.56

1 year ago

1.6.59

1 year ago

1.6.58

1 year ago

2.9.99

12 months ago

2.10.118

11 months ago

2.10.117

11 months ago

2.10.116

11 months ago

2.10.115

11 months ago

2.10.114

11 months ago

2.10.113

11 months ago

2.9.100

12 months ago

1.5.50

1 year ago

2.9.101

12 months ago

2.9.102

12 months ago

2.9.103

12 months ago

2.9.104

12 months ago

1.3.31

1 year ago

2.9.105

12 months ago

1.3.32

1 year ago

2.9.106

12 months ago

2.9.107

12 months ago

1.3.30

1 year ago

2.9.108

12 months ago

1.3.35

1 year ago

2.9.109

12 months ago

1.3.36

1 year ago

1.3.33

1 year ago

1.3.34

1 year ago

1.3.39

1 year ago

1.3.37

1 year ago

1.3.38

1 year ago

2.7.95

12 months ago

2.7.94

12 months ago

2.7.93

1 year ago

1.3.40

1 year ago

1.3.41

1 year ago

1.6.80

1 year ago

1.6.82

1 year ago

1.6.81

1 year ago

1.6.84

1 year ago

1.6.83

1 year ago

1.6.86

1 year ago

1.6.85

1 year ago

1.6.88

1 year ago

1.6.87

1 year ago

1.6.89

1 year ago

1.3.13

1 year ago

1.3.14

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.3.19

1 year ago

2.10.109

12 months ago

1.6.91

1 year ago

1.6.90

1 year ago

1.6.92

1 year ago

2.10.112

11 months ago

2.10.111

11 months ago

2.10.110

12 months ago

1.3.20

1 year ago

1.3.21

1 year ago

1.5.45

1 year ago

1.5.47

1 year ago

1.3.24

1 year ago

1.5.46

1 year ago

1.3.25

1 year ago

1.5.49

1 year ago

1.3.22

1 year ago

1.5.48

1 year ago

1.3.23

1 year ago

1.3.28

1 year ago

1.3.29

1 year ago

1.3.26

1 year ago

1.3.27

1 year ago

2.8.96

12 months ago

2.8.95

12 months ago

1.6.60

1 year ago

1.6.62

1 year ago

1.6.61

1 year ago

1.6.64

1 year ago

1.6.63

1 year ago

1.6.66

1 year ago

1.4.42

1 year ago

1.6.65

1 year ago

1.4.41

1 year ago

1.6.68

1 year ago

1.4.44

1 year ago

1.6.67

1 year ago

1.4.43

1 year ago

2.8.99

12 months ago

1.6.69

1 year ago

1.4.45

1 year ago

2.8.98

12 months ago

2.8.97

12 months ago

1.6.71

1 year ago

1.6.70

1 year ago

1.6.73

1 year ago

1.6.72

1 year ago

1.6.75

1 year ago

1.6.74

1 year ago

1.6.77

1 year ago

1.6.76

1 year ago

1.6.79

1 year ago

1.6.78

1 year ago

1.3.12

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.11

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago