Skip to content
On this page

Module: util/common

Enumerations

Direction

Direction: Object

NameType
Default"Up"
Down"Down"
Left"Left"
Right"Right"
Up"Up"

Defined in

profectus/src/util/common.ts:21

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

Ƭ WithRequired<T, K>: T &

Type parameters

NameType
TT
Kextends keyof T

Defined in

profectus/src/util/common.ts:1

Functions

camelToTitle

camelToTitle(camel): string

NameType
camelstring

Defined in

profectus/src/util/common.ts:9


isFunction

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

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

Defined in

profectus/src/util/common.ts:15