W3cubDocs

/Angular

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:

isStandalone(type: Type<unknown>): boolean

Parameters
type Type<unknown>

A reference to a Component, Directive or Pipe.

Returns

boolean

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/isStandalone