"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNonNullObject = isNonNullObject;
exports.hasProp = hasProp;
function isNonNullObject(val) {
    return typeof val === 'object' && val !== null;
}
// Still, as of June 18, 2022, Typescript cannot use the 'in' keyword or 'hasOwnProperty' method as a type guard
// See: https://github.com/microsoft/TypeScript/issues/21732
function hasProp(obj, prop) {
    return prop in obj;
}
//# sourceMappingURL=typescriptExtensions.js.map