Skip to content

KeyOf

module KeyOf
AssemblyXantham.Fable.Core

Functions and values

access<'T> (key: keyof<'T>) (obj: 'T) : obj option

Alias for item. An inline function rather than a value binding: Fable cannot take an inline function as a first-class value, and the run gate is where that showed.

fromPropertyKey<'T, 'ReturnType> (key: typekeyof<'T,'ReturnType>) : keyof<'T>
item<'T> (key: keyof<'T>) (obj: 'T) : obj option
tryUnbox<'T, 'ReturnType> (func: 'T -> 'ReturnType) (key: keyof<'T>) : typekeyof<'T,'ReturnType> option

Unboxes the property key with the path of the given function.

Parameter
func
key
unsafeUnbox<'T, 'ReturnType> (key: keyof<'T>) : typekeyof<'T,'ReturnType>
value<'T> (key: keyof<'T>) : string