sfcode
An Online Competing and Development Environment
|
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Install with npm:
true
when the descriptor has valid properties with valid values.
false
when not an object
false
when the object has invalid properties
false
when a value is not the correct type
The only valid data descriptor properties are the following:
configurable
(required)enumerable
(required)value
(optional)writable
(optional)To be a valid data descriptor, either value
or writable
must be defined.
Invalid properties
A descriptor may have additional invalid properties (an error will not be thrown).
Install dev dependencies:
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb on December 28, 2015.