get
get<T>(content: T,property: undefined,defaultValue: T): T
get<T,K>(content: undefined | null | T,property: K,defaultValue: Exclude<PathType<T, K>, undefined | null>): Exclude<PathType<T, K>, undefined | null>
get<T,K>(content: undefined | null | T,property: K,defaultValue: PathType<T, K>): PathType<T, K>
get<T,K>(content: null | T,property: K,defaultValue: PathType<T, K>): PathType<T, K> | undefined
get<T,K>(content: null | T,property: K,defaultValue: null | PathType<T, K>): PathType<T, K> | null
Properties
(Mandatory properties are in bold)Properties | Type | Description |
---|---|---|
content | T |
Additional properties for advanced use cases
Properties | Type | Description |
---|---|---|
defaultValue | T | |
property | undefined |