gt

最后更新于:2022-04-02 00:01:53

## gt + [link](./gt "Link to this entry.") + [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L9433 "View in source.") + [npm](https://www.npmjs.com/package/lodash.gt "See the npm package.") ``` _.gt(value, other) ``` 检查 `value` 是否大于 `other` ### 参数 1. value (\*) 要比较的值 2. other (\*) 其他要比较的值 ### 返回值 (boolean) 如果 `value` 大于 `other`,返回 `true`,否则返回 `false` ### 示例 ``` _.gt(3, 1); // => true _.gt(3, 3); // => false _.gt(1, 3); // => false ```
';