• Overview
@angular/core

isStandalone

function

Checks whether a given Component, Directive or Pipe is marked as standalone. This will return false if passed anything other than a Component, Directive, or Pipe class See this guide for additional information:

  
    function isStandalone(  type: Type<unknown>): boolean;
  
  

isStandalone

boolean

Checks whether a given Component, Directive or Pipe is marked as standalone. This will return false if passed anything other than a Component, Directive, or Pipe class See this guide for additional information:

@paramtypeType<unknown>

A reference to a Component, Directive or Pipe.

@returnsboolean
Jump to details