UNPKG

hexo-theme-redefine

Version:

Redefine your writing with Hexo Theme Redefine.

15 lines (11 loc) 273 B
"use strict"; const isPlainObject = (value) => { return value && typeof value === "object" && !Array.isArray(value); }; const hasValue = (value) => { return value !== undefined && value !== null && value !== ""; }; module.exports = { isPlainObject, hasValue, };