• Overview
@angular/core

isStandalone

function
stable

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

API

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