# `Object.defineProperties` Support > Detect [`Object.defineProperties`][mdn-define-properties] support.
## Usage ```javascript var hasDefinePropertiesSupport = require( '@stdlib/assert/has-define-properties-support' ); ``` #### hasDefinePropertiesSupport() Detects if a runtime environment supports [`Object.defineProperties`][mdn-define-properties]. ```javascript var bool = hasDefinePropertiesSupport(); // returns ```
## Examples ```javascript var hasDefinePropertiesSupport = require( '@stdlib/assert/has-define-properties-support' ); var bool = hasDefinePropertiesSupport(); if ( bool ) { console.log( 'Environment has `Object.defineProperties` support.' ); } else { console.log( 'Environment lacks `Object.defineProperties` support.' ); } ```
* * *
## CLI
### Usage ```text Usage: has-define-properties-support [options] Options: -h, --help Print this message. -V, --version Print the package version. ```
### Examples ```bash $ has-define-properties-support ```