Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

isStandalone

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:

      
      isStandalone(type: Type<unknown>): boolean
    
Parameters
type Type<unknown>

A reference to a Component, Directive or Pipe.

Returns

boolean