4.6.110 • Published 1 year ago

@diotoborg/voluptatum-veritatis v4.6.110

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

@diotoborg/voluptatum-veritatis 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('@diotoborg/voluptatum-veritatis');
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

chinesenodei18ncallasttoArraybyteLengthES2021findupsafejsdiffFunction.prototype.namerouterindicatortesterdebugger-0speedUint8ClampedArrayes7spawnerrorstableredux-toolkitansibytermTypedArrayinspectinputYAMLpatchclassnameshasimportexportmochaes5vestoncemakeserializerdataArray.prototype.findLastIndexshelltacitargvtypanionsetPrototypeOfprettytyped arraycallbackquerystringupdefinePropertyObservableswritablequoteSymboltddpromiseserializationmatcheszxobjprotobufendpointfastclonejson-schema-validation__proto__collection.es6real-timemonorepogroupECMAScript 2019namesl10najvdependency managerfpsvalueconsumecommand-linefeedkeystylingbuffersinextrarssprogressstructuredClonewarningtostringtagbuffertoolsnamemanipulationObject.definePropertyio-tsbundlervaluesdynamodbES5regexbinStreampure.envflagsavaredirectjsdomterminalflatMapbinariesECMAScript 6installerESjsonredactdiffArrayBuffer.prototype.sliceregular-expressions3browserslistdirectorySymbol.toStringTaggetOwnPropertyDescriptoridpackage managerStyleSheetrobustprocessassertsformstslibconfigxtermloggingcolumncurried$.extendRegExp.prototype.flagsdeletetypescript256dir[[Prototype]]es2017sharedarraybufferefficientelasticachereadablestream0formatbabelfast-copytranspilesettingsenumerablebrowsercharacterreuserangeerrorArray.prototype.includesfullwidthwalkingreduceanimationpostcss-plugines2015look-upeslint-pluginharmonyWebSocketsjsonschemaspringenvcontainsObject.valueschannelhelperdeep-cloneECMAScript 7everyfind-upfromyuptapIteratorObject.getPrototypeOfprototypeassertionminimalconcatexecfileutilsschemefunctionsespreefunctionalPushassignESnextistanbulglobal objectcode pointsplugindependenciesBigUint64ArrayloggermruUint16Arraypipepropertiesreact-hookspicomatchurlfast-deep-copystartershamflagsesfilteroptimizersetemrsymbolttycore-jsmoduletypedarrayststrimRightES2019@@toStringTagHyBiuuidjapanesetc39typeofenderrestwaapiArray.prototype.flatdomES7symlinksfastconstes-abstracttoobjectvarsmobileECMAScript 2020dropECMAScript 2022route53deepmkdirpvalidArray.prototype.containsutilpreprocessorObject.entriespushcolourfantasy-landweakmapoutputnegativeebswaitgetterdescriptorsloadbalancingfindJSON-SchemainstrumentationECMAScriptesmapreduceSystem.globalmkdirsreact animationcommanderlrumatchAllFloat32ArraysearchextendgenericskoreandateArray.prototype.flatMapreact-hook-formelbstringifyassertasteriskstranspilerinternal slotglobtoolkitreact poserm -fr
4.6.110

1 year ago

4.6.109

1 year ago

4.6.108

1 year ago

4.6.107

1 year ago

4.6.106

1 year ago

4.6.105

1 year ago

4.6.104

1 year ago

4.6.103

1 year ago

4.6.102

1 year ago

4.6.101

1 year ago

4.6.100

1 year ago

4.6.99

1 year ago

4.6.98

1 year ago

4.5.98

1 year ago

4.5.97

1 year ago

4.5.96

1 year ago

4.5.95

1 year ago

4.5.94

1 year ago

4.5.93

1 year ago

4.5.92

1 year ago

4.5.91

1 year ago

4.5.90

1 year ago

4.4.90

1 year ago

3.4.90

1 year ago

3.4.89

1 year ago

3.4.88

1 year ago

3.3.88

1 year ago

3.3.87

1 year ago

2.3.87

1 year ago

2.2.87

1 year ago

2.2.86

1 year ago

2.2.85

1 year ago

2.2.84

1 year ago

2.2.83

1 year ago

2.2.82

1 year ago

2.2.81

1 year ago

2.2.80

1 year ago

2.2.79

1 year ago

2.2.78

1 year ago

2.2.77

1 year ago

2.2.76

1 year ago

2.2.75

1 year ago

2.2.74

1 year ago

2.2.73

1 year ago

2.2.72

1 year ago

2.2.71

1 year ago

2.2.70

1 year ago

2.2.69

1 year ago

2.2.68

1 year ago

2.2.67

1 year ago

2.2.66

1 year ago

2.2.65

1 year ago

2.1.65

1 year ago

2.1.64

1 year ago

2.1.63

1 year ago

2.1.62

1 year ago

2.1.61

1 year ago

2.1.60

1 year ago

2.1.59

1 year ago

2.1.58

1 year ago

2.1.57

1 year ago

2.1.56

1 year ago

2.1.55

1 year ago

2.1.54

1 year ago

2.1.53

1 year ago

2.1.52

1 year ago

2.1.51

1 year ago

2.1.50

1 year ago

2.1.49

1 year ago

2.1.48

1 year ago

2.1.47

1 year ago

2.1.46

1 year ago

2.1.45

1 year ago

2.1.44

1 year ago

2.1.43

1 year ago

2.1.42

1 year ago

2.1.41

1 year ago

2.1.40

1 year ago

2.1.39

1 year ago

2.1.38

1 year ago

2.1.37

1 year ago

2.1.36

1 year ago

2.1.35

1 year ago

2.1.34

1 year ago

2.1.33

1 year ago

2.1.32

1 year ago

2.1.31

1 year ago

2.1.30

1 year ago

2.1.29

1 year ago

2.1.28

1 year ago

2.1.27

1 year ago

2.1.26

1 year ago

2.1.25

1 year ago

2.1.24

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.0.20

1 year ago

2.0.19

1 year ago

2.0.18

1 year ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

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