@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
15 lines (14 loc) • 444 B
JavaScript
import "./modules/kms/index.mjs";
//#region src/types.ts
const isJsonObject = (value) => {
return value !== void 0 && typeof value === "object" && value !== null && !Array.isArray(value);
};
function mapNonEmptyArray(array, mapFunction) {
return array.map(mapFunction);
}
function isNonEmptyArray(array) {
return array.length > 0;
}
//#endregion
export { isJsonObject, isNonEmptyArray, mapNonEmptyArray };
//# sourceMappingURL=types.mjs.map