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