3.10.67 • Published 11 months ago

@hishprorg/animi-placeat-deserunt v3.10.67

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

@hishprorg/animi-placeat-deserunt 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('@hishprorg/animi-placeat-deserunt');
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

Streamspatchfetchcss nestingoffsetpositivebuffertypestrimEndcallboundprototoSortedsqsStreamtrimLeftsettingsnegativequeueMicrotaskObject.valuesArrayBuffer.prototype.sliceregexpES5package.jsonwidthlesscsscertificatesargvsidelastarraycollectionstyled-componentsSymbol.toStringTagWebSocketsfindLastIndexcurlcollection.es6spawnpropertyemitlrupolyfillObject.entriesstreamcharacterfast-copyenvironmentsweakmapECMAScript 2020dynamodbtscacheperformancereactInt8Arraynested cssexpressglobalchinesehttputil[[Prototype]]Object.definePropertysnsapiprefixswfinternalvisualArray.prototype.filtermerge6to5Object.keysfpworkerponyfillbyteOffsethigher-orderString.prototype.trimWebSocketsharedarraybuffereverycss variableclonedeterministicprotocol-bufferssignalYAMLUnderscorewaapivestvalidatewarninghasOwnendereast-asian-widthelbcommand-lineassignuploadchromeelasticacheinferencepasswordfunction.lengthwaitcsscloudformationmkdirpackagesrequireprivatecoloursequencerdscss lesstestingxterm256call-boundisConcatSpreadablees2018safeES8shamloadingcliUint8ClampedArraya11ybundlervariablesgradients cssfsramdajsonReactiveExtensionsstylesheetJSON-Schemajoidayjscss-in-jsbrowseres2015rfc9562browserlistsetImmediatefiltertypanionSetES2020real-timeresolveObject.getPrototypeOfUint16ArrayjQueryequal.gitignorenamegroupsharednegative zeroyupes2017AsyncIteratorreusetc39statuspicomatchvalueInt16Arrayestreelazygitignoreassertsbeanstalkmapreducepyyaml3dposerulesscheme-validationflatautoscalingES6keyexit-codebinarypurehas-owntypeofobjectURLSearchParamstypedarrayreact-testing-libraryes8expressionArray.prototype.flatMapwalkArray.prototype.includesapolloeslintpluginchannellinkdefineES2016columnsvpcawsroutingonceschemel10nbuffersArray.prototype.flattenconstasyncjsonschemaBigInt64Arrayfast-clonefromoptimizercoremobilesyntaxerrorinterruptsspeedquerystring
3.10.67

11 months ago

3.10.66

11 months ago

3.10.65

11 months ago

3.10.64

11 months ago

3.10.63

11 months ago

3.9.63

11 months ago

3.9.62

11 months ago

3.9.61

11 months ago

3.9.60

11 months ago

3.8.60

11 months ago

3.8.59

11 months ago

3.8.58

11 months ago

3.8.57

11 months ago

3.8.56

11 months ago

3.8.55

11 months ago

3.8.54

11 months ago

3.8.53

11 months ago

3.8.52

11 months ago

3.8.51

11 months ago

3.8.50

12 months ago

3.8.49

12 months ago

3.8.48

12 months ago

3.8.47

12 months ago

3.8.46

12 months ago

3.8.45

12 months ago

3.8.44

12 months ago

3.7.44

12 months ago

3.7.43

12 months ago

3.7.42

12 months ago

3.7.41

12 months ago

3.7.40

12 months ago

3.7.39

12 months ago

3.6.39

12 months ago

3.6.38

12 months ago

3.6.37

12 months ago

2.6.37

12 months ago

2.5.37

12 months ago

2.5.36

12 months ago

2.5.35

1 year ago

2.4.35

1 year ago

2.4.34

1 year ago

2.4.33

1 year ago

2.4.32

1 year ago

2.4.31

1 year ago

2.4.30

1 year ago

2.3.30

1 year ago

2.3.29

1 year ago

2.3.28

1 year ago

1.3.28

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.3.25

1 year ago

1.3.24

1 year ago

1.3.23

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

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