文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/is-plain-obj/index.d.ts
编辑文件内容
/** Check if a value is a plain object. An object is plain if it's created by either `{}`, `new Object()`, or `Object.create(null)`. @example ``` import isPlainObject = require('is-plain-obj'); isPlainObject({foo: 'bar'}); //=> true isPlainObject(new Object()); //=> true isPlainObject(Object.create(null)); //=> true isPlainObject([1, 2, 3]); //=> false class Unicorn {} isPlainObject(new Unicorn()); //=> false ``` */ declare function isPlainObject<Value = unknown>(value: unknown): value is Record<string | number | symbol, Value>; export = isPlainObject;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件