Interface NakedPropGetters<T, K>
Type Parameters
T extends object
K extends keyof T = keyof T
Properties
orCrash
Type declaration
- <KK, R>(k, errorFactory?): WithoutOptValues<R>
Type Parameters
KK extends string | number | symbol
R
Parameters
k: KK
Optional
errorFactory: string | ((key) => string | Error)
orNull
Type declaration
- <KK, R>(k): null | WithoutOptValues<R>
Type Parameters
KK extends string | number | symbol
R
orUndef
Type declaration
- <KK, R>(k): undefined | WithoutOptValues<R>
Type Parameters
KK extends string | number | symbol
R
orZero
Type declaration
- <KK, R>(k): 0 | WithoutOptValues<R>
Type Parameters
KK extends string | number | symbol
R
prop
Type declaration
- <KK, R>(k): OptSafe<R>
Type Parameters
KK extends string | number | symbol
R