Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > Subspace > contains

Subspace.contains() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Returns true if the specified project belongs to this subspace.

Signature:

contains(project: RushConfigurationProject): boolean;

Parameters

Parameter

Type

Description

project

RushConfigurationProject

Returns:

boolean