• Type Parameters

    • K extends PropertyKey

    Parameters

    • data: unknown
    • prop: K

    Returns data is Record<K, unknown>