Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "assert/has-class-support/docs/types/index.d"

Index

Functions

Functions

Export assignment hasClassSupport

  • hasClassSupport(): boolean
  • Tests for native class support.

    Returns boolean

    boolean indicating if an environment has native class support

    Example

    var bool = hasClassSupport();
    if ( bool ) {
        console.log( 'Environment has native class support.' );
    } else {
        console.log( 'Environment lacks native class support.' );
    }