文件操作 - is.js
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/atom/resources/app/apm/node_modules/type/function/is.js
编辑文件内容
"use strict"; var isPrototype = require("../prototype/is"); module.exports = function (value) { if (typeof value !== "function") return false; if (!hasOwnProperty.call(value, "length")) return false; try { if (typeof value.length !== "number") return false; if (typeof value.call !== "function") return false; if (typeof value.apply !== "function") return false; } catch (error) { return false; } return !isPrototype(value); };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件