Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/deep-set/docs/types/index.d"

Index

Interfaces

Type aliases

Variables

Type aliases

Unary

Unary: (obj: any, value: any) => boolean

Sets a nested property.

param

input object

param

value to set

returns

boolean indicating if the property was successfully set

Type declaration

    • (obj: any, value: any): boolean
    • Parameters

      • obj: any
      • value: any

      Returns boolean

Variables

Export assignment deepSet

deepSet: DeepSet

Sets a nested property value.

param

input object

param

key path

param

value to set

param

function options

param

boolean indicating whether to create a path if the key path does not already exist (default: false)

param

key path separator (default: '.')

returns

boolean indicating if the property was successfully set