Automattic\WooCommerce\Blocks\Domain
Bootstrap::is_built
See if files have been built or not.
Method of the class: Bootstrap{}
No Hooks.
Returns
bool.
Usage
// protected - for code of main (parent) or child class $result = $this->is_built();
Bootstrap::is_built() Bootstrap::is built code WC 11.1.2
protected function is_built() {
$editor_asset = $this->is_block_editor_unified_assets_enabled_during_bootstrap() ? 'wc-block-library.js' : 'featured-product.js';
return file_exists(
$this->package->get_path( 'assets/client/blocks/' . $editor_asset )
);
}