Last updated 5 years ago
Was this helpful?
语法:
_.stubTrue()
源代码链接:
npm包链接:
描述:
这个方法返回true。
true
开始版本:4.13.0
返回值:
(boolean): 返回 true。
(boolean)
例子:
_.times(2, _.stubTrue); // => [true, true]