服务器

Array

Collection

Date

Function

Lang

Math

Number

Object

Seq

String

Util

Properties

Methods

_.prototype.at(paths)

版本

1.0.0

参数
  1. [paths] (...(string | string [])):要选择的属性路径。
返回

(Object):返回新的lodash包装器实例。

var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
 

_(object).at(['a[0].b.c', 'a[1]']).value();
// => [3, 4]