Files
lan-manager/web/node_modules/@antv/util/esm/ends-with.js
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

7 lines
242 B
JavaScript

import isArray from './is-array';
import isString from './is-string';
function endsWith(arr, e) {
return (isArray(arr) || isString(arr)) ? arr[arr.length - 1] === e : false;
}
export default endsWith;
//# sourceMappingURL=ends-with.js.map