Returns a function that gets property value from object

  • Type Parameters

    • T

    Parameters

    • k: string

    Returns (x: Record<string, unknown>) => T