profectus-docs/assets/api_modules_util_common.md.e7243016.js

1 line
4.1 KiB
JavaScript

import{_ as e,c as t,o as a,a as r}from"./app.54d5a277.js";const m='{"title":"Module: util/common","description":"","frontmatter":{},"headers":[{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"camelToTitle","slug":"cameltotitle"},{"level":3,"title":"isFunction","slug":"isfunction"},{"level":3,"title":"isPlainObject","slug":"isplainobject"}],"relativePath":"api/modules/util/common.md"}',n={},o=r('<h1 id="module-util-common" tabindex="-1">Module: util/common <a class="header-anchor" href="#module-util-common" aria-hidden="true">#</a></h1><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-hidden="true">#</a></h2><h3 id="cameltotitle" tabindex="-1">camelToTitle <a class="header-anchor" href="#cameltotitle" aria-hidden="true">#</a></h3><p>\u25B8 <strong>camelToTitle</strong>(<code>camel</code>): <code>string</code></p><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>camel</code></td><td style="text-align:left;"><code>string</code></td></tr></tbody></table><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h4><p><code>string</code></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/util/common.ts#L3" target="_blank" rel="noopener noreferrer">profectus/src/util/common.ts:3</a></p><hr><h3 id="isfunction" tabindex="-1">isFunction <a class="header-anchor" href="#isfunction" aria-hidden="true">#</a></h3><p>\u25B8 <strong>isFunction</strong>(<code>func</code>): <code>func</code> is <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" target="_blank" rel="noopener noreferrer"><code>Function</code></a></p><h4 id="parameters-1" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-1" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>func</code></td><td style="text-align:left;"><code>unknown</code></td></tr></tbody></table><h4 id="returns-1" tabindex="-1">Returns <a class="header-anchor" href="#returns-1" aria-hidden="true">#</a></h4><p><code>func</code> is <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" target="_blank" rel="noopener noreferrer"><code>Function</code></a></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/util/common.ts#L14" target="_blank" rel="noopener noreferrer">profectus/src/util/common.ts:14</a></p><hr><h3 id="isplainobject" tabindex="-1">isPlainObject <a class="header-anchor" href="#isplainobject" aria-hidden="true">#</a></h3><p>\u25B8 <strong>isPlainObject</strong>(<code>object</code>): <code>boolean</code></p><h4 id="parameters-2" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-2" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>object</code></td><td style="text-align:left;"><code>unknown</code></td></tr></tbody></table><h4 id="returns-2" tabindex="-1">Returns <a class="header-anchor" href="#returns-2" aria-hidden="true">#</a></h4><p><code>boolean</code></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/util/common.ts#L9" target="_blank" rel="noopener noreferrer">profectus/src/util/common.ts:9</a></p>',28),i=[o];function d(c,l,s,h,u,f){return a(),t("div",null,i)}var b=e(n,[["render",d]]);export{m as __pageData,b as default};