Automattic\WooCommerce\Api\Utils
SchemaHandle::is_introspection_name
Whether a type name belongs to GraphQL's introspection system (and so should be skipped).
Method of the class: SchemaHandle{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = SchemaHandle::is_introspection_name( $name ): bool;
- $name(string) (required)
- Type name.
SchemaHandle::is_introspection_name() SchemaHandle::is introspection name code WC 10.9.1
private static function is_introspection_name( string $name ): bool {
return str_starts_with( $name, '__' );
}