Module: util/common
Enumerations
Direction
• Direction: Object
Name | Type |
---|---|
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
Name | Type |
---|---|
T | extends ReadonlyArray <unknown > |
Defined in
profectus/src/util/common.ts:3
WithRequired
Ƭ WithRequired<T
, K
>: T
&
Type parameters
Name | Type |
---|---|
T | T |
K | extends keyof T |
Defined in
profectus/src/util/common.ts:1
Functions
camelToTitle
▸ camelToTitle(camel
): string
Name | Type |
---|---|
camel | string |
Defined in
profectus/src/util/common.ts:9
isFunction
▸ isFunction<T
, S
, R
>(functionOrValue
): functionOrValue is Function
Name | Type |
---|---|
functionOrValue | R | (...args : S ) => T |