import{_ as r,c as o,o as l,N as a,x as e,a as t}from"./chunks/framework.0799945b.js";const x=JSON.parse('{"title":"Module: util/common","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/common.md","lastUpdated":null}'),n={name:"api/modules/util/common.md"},d=a('

Module: util/common

Enumerations

Type Aliases

ArrayElements

Ƭ ArrayElements<T>: T extends ReadonlyArray<infer S> ? S : never

Type parameters

NameType
Textends ReadonlyArray<unknown>

Defined in

profectus/src/util/common.ts:3


WithRequired

',12),i=e("p",{"[P":"",in:"","K]-?:":"","T[P]":""},[t("Ƭ "),e("strong",null,"WithRequired"),t("<"),e("code",null,"T"),t(", "),e("code",null,"K"),t(">: "),e("code",null,"T"),t(" &")],-1),s=a('

Type parameters

NameType
TT
Kextends keyof T

Defined in

profectus/src/util/common.ts:1

Functions

camelToTitle

camelToTitle(camel): string

Parameters

NameType
camelstring

Returns

string

Defined in

profectus/src/util/common.ts:9


isFunction

isFunction<T, S, R>(functionOrValue): functionOrValue is Function

Type parameters

NameType
TT
Sextends readonly unknown[]
RR

Parameters

NameType
functionOrValueR | (...args: S) => T

Returns

functionOrValue is Function

Defined in

profectus/src/util/common.ts:15

',24),c=[d,i,s];function h(u,m,f,p,b,y){return l(),o("div",null,c)}const _=r(n,[["render",h]]);export{x as __pageData,_ as default};