- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
7 lines
242 B
JavaScript
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
|