Skip to content

mathLessThanOrEqual

判断 a 是否小于等于 b。

示例

ts
import { mathLessThanOrEqual } from '@base-web-kits/base-tools-ts';
mathLessThanOrEqual(2, 2); // => true
mathLessThanOrEqual(1, 2); // => true
mathLessThanOrEqual(2, 1); // => false

版本

  • 1.0.0 新增