profectus-docs/assets/api_features_feature_functions_findFeatures.md.DiTGpXmv.lean.js

1 line
2 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,c as t,a0 as r,o as n}from"./chunks/framework.P9qPzDnn.js";const p=JSON.parse('{"title":"Function: findFeatures()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/feature/functions/findFeatures.md","filePath":"api/features/feature/functions/findFeatures.md","lastUpdated":null}'),o={name:"api/features/feature/functions/findFeatures.md"};function s(i,e,d,u,c,f){return n(),t("div",null,e[0]||(e[0]=[r('<p><a href="./../../../">Profectus</a> / <a href="./../">features/feature</a> / findFeatures</p><h1 id="function-findfeatures" tabindex="-1">Function: findFeatures() <a class="header-anchor" href="#function-findfeatures" aria-label="Permalink to &quot;Function: findFeatures()&quot;"></a></h1><blockquote><p><strong>findFeatures</strong>(<code>obj</code>, ...<code>types</code>): <code>unknown</code>[]</p></blockquote><p>Traverses an object and returns all features of the given type(s)</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="obj" tabindex="-1">obj <a class="header-anchor" href="#obj" aria-label="Permalink to &quot;obj&quot;"></a></h3><p><code>object</code></p><p>The object to traverse</p><h3 id="types" tabindex="-1">types <a class="header-anchor" href="#types" aria-label="Permalink to &quot;types&quot;"></a></h3><p>...<code>symbol</code>[]</p><p>The feature types that will be searched for</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>unknown</code>[]</p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/feature.ts#L64" target="_blank" rel="noreferrer">profectus/src/features/feature.ts:64</a></p>',15)]))}const h=a(o,[["render",s]]);export{p as __pageData,h as default};