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('
Ƭ ArrayElements<T
>: T
extends ReadonlyArray
<infer S> ? S
: never
Name | Type |
---|---|
T | extends ReadonlyArray <unknown > |
profectus/src/util/common.ts:3
Name | Type |
---|---|
T | T |
K | extends keyof T |
profectus/src/util/common.ts:1
▸ camelToTitle(camel
): string
Name | Type |
---|---|
camel | string |
string
profectus/src/util/common.ts:9
▸ isFunction<T
, S
, R
>(functionOrValue
): functionOrValue is Function
Name | Type |
---|---|
T | T |
S | extends readonly unknown [] |
R | R |
Name | Type |
---|---|
functionOrValue | R | (...args : S ) => T |
functionOrValue is Function