@villedemontreal/workit-core
Version:
This package provides default and no-op implementations of the WorkIt types for client packages.
11 lines • 464 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPrimitive = void 0;
/*
* Copyright (c) 2025 Ville de Montreal. All rights reserved.
* Licensed under the MIT license.
* See LICENSE file in the project root for full license information.
*/
const isPrimitive = (value) => value === null || (typeof value !== 'object' && typeof value !== 'function');
exports.isPrimitive = isPrimitive;
//# sourceMappingURL=isPrimitive.js.map