Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @younho9/object

Index

Functions

get

  • get<BaseType, Path>(object: BaseType, path: Path, defaultValue?: any): Get<BaseType, Path>
  • Type parameters

    • BaseType

    • Path: string

    Parameters

    • object: BaseType
    • path: Path
    • Optional defaultValue: any

    Returns Get<BaseType, Path>

invariantOf

  • invariantOf<Type>(value: Type): InvariantOf<Type>
  • Type parameters

    • Type

    Parameters

    • value: Type

    Returns InvariantOf<Type>

invariantOfDeep

  • invariantOfDeep<Type>(value: Type): InvariantOfDeep<Type>
  • Type parameters

    • Type

    Parameters

    • value: Type

    Returns InvariantOfDeep<Type>

keys

  • keys<ObjectType>(invariant: InvariantOf<ObjectType>): keyof ObjectType[]

Generated using TypeDoc