@microsoft/kiota-abstractions
Version:
Core abstractions for kiota generated libraries in TypeScript and JavaScript
26 lines • 1.05 kB
TypeScript
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
import { UntypedNode } from "./untypedNode.js";
/** Defines the interface for defining an untyped null value. */
export interface UntypedNull extends UntypedNode {
/**
* Gets the value of the UntypedNode as null.
*/
getValue(): null;
}
/**
* Type guard to assert that an object instance is an UntypedNull.
* @param node The object to check.
* @returns boolean indicating if the node is an UntypedNull.
*/
export declare function isUntypedNull(node: UntypedNode): node is UntypedNull;
/**
* Factory to create an UntypedNull from a boolean.
* @returns The created UntypedNull.
*/
export declare function createUntypedNull(): UntypedNull;
//# sourceMappingURL=untypedNull.d.ts.map