@servicenow/sdk - v4.4.1
    Preparing search index...
    Structure: {
        hasName: <T extends Structure>(
            structure: T,
        ) => structure is T & { name: string };
        isAbstractable: <T_10>(
            structure: T_10,
        ) => structure is T_10 & AbstractableNodeStructure;
        isAmbientable: <T_11>(
            structure: T_11,
        ) => structure is T_11 & AmbientableNodeStructure;
        isAsyncable: <T_19>(
            structure: T_19,
        ) => structure is T_19 & AsyncableNodeStructure;
        isBindingNamed: <T_31>(
            structure: T_31,
        ) => structure is T_31 & BindingNamedNodeStructure;
        isCallSignature: (
            structure: unknown,
        ) => structure is CallSignatureDeclarationStructure;
        isClass: (structure: unknown) => structure is ClassDeclarationStructure;
        isClassLikeDeclarationBase: <T_6>(
            structure: T_6,
        ) => structure is T_6 & ClassLikeDeclarationBaseStructure;
        isClassStaticBlock: (
            structure: unknown,
        ) => structure is ClassStaticBlockDeclarationStructure;
        isConstructor: (
            structure: unknown,
        ) => structure is ConstructorDeclarationStructure;
        isConstructorDeclarationOverload: (
            structure: unknown,
        ) => structure is ConstructorDeclarationOverloadStructure;
        isConstructSignature: (
            structure: unknown,
        ) => structure is ConstructSignatureDeclarationStructure;
        isDecoratable: <T_9>(
            structure: T_9,
        ) => structure is T_9 & DecoratableNodeStructure;
        isDecorator: (structure: unknown) => structure is DecoratorStructure;
        isEnum: (structure: unknown) => structure is EnumDeclarationStructure;
        isEnumMember: (structure: unknown) => structure is EnumMemberStructure;
        isExclamationTokenable: <T_34>(
            structure: T_34,
        ) => structure is T_34 & ExclamationTokenableNodeStructure;
        isExportable: <T_12>(
            structure: T_12,
        ) => structure is T_12 & ExportableNodeStructure;
        isExportAssignment: (
            structure: unknown,
        ) => structure is ExportAssignmentStructure;
        isExportDeclaration: (
            structure: unknown,
        ) => structure is ExportDeclarationStructure;
        isExportSpecifier: (
            structure: unknown,
        ) => structure is ExportSpecifierStructure;
        isExpressioned: <T_35>(
            structure: T_35,
        ) => structure is T_35 & ExpressionedNodeStructure;
        isExtendsClauseable: <T_24>(
            structure: T_24,
        ) => structure is T_24 & ExtendsClauseableNodeStructure;
        isFunction: (
            structure: unknown,
        ) => structure is FunctionDeclarationStructure;
        isFunctionDeclarationOverload: (
            structure: unknown,
        ) => structure is FunctionDeclarationOverloadStructure;
        isFunctionLike: <T_15>(
            structure: T_15,
        ) => structure is T_15 & FunctionLikeDeclarationStructure;
        isGeneratorable: <T_20>(
            structure: T_20,
        ) => structure is T_20 & GeneratorableNodeStructure;
        isGetAccessor: (
            structure: unknown,
        ) => structure is GetAccessorDeclarationStructure;
        isImplementsClauseable: <T_8>(
            structure: T_8,
        ) => structure is T_8 & ImplementsClauseableNodeStructure;
        isImportAttribute: (
            structure: unknown,
        ) => structure is ImportAttributeStructure;
        isImportAttributeNamed: <T_22>(
            structure: T_22,
        ) => structure is T_22 & ImportAttributeNamedNodeStructure;
        isImportDeclaration: (
            structure: unknown,
        ) => structure is ImportDeclarationStructure;
        isImportSpecifier: (
            structure: unknown,
        ) => structure is ImportSpecifierStructure;
        isIndexSignature: (
            structure: unknown,
        ) => structure is IndexSignatureDeclarationStructure;
        isInitializerExpressionable: <T_18>(
            structure: T_18,
        ) => structure is T_18 & InitializerExpressionableNodeStructure;
        isInterface: (
            structure: unknown,
        ) => structure is InterfaceDeclarationStructure;
        isJSDoc: (structure: unknown) => structure is JSDocStructure;
        isJSDocable: <T_1>(
            structure: T_1,
        ) => structure is T_1 & JSDocableNodeStructure;
        isJSDocTag: (structure: unknown) => structure is JSDocTagStructure;
        isJsxAttribute: (structure: unknown) => structure is JsxAttributeStructure;
        isJsxAttributed: <T_27>(
            structure: T_27,
        ) => structure is T_27 & JsxAttributedNodeStructure;
        isJsxElement: (structure: unknown) => structure is JsxElementStructure;
        isJsxSelfClosingElement: (
            structure: unknown,
        ) => structure is JsxSelfClosingElementStructure;
        isJsxSpreadAttribute: (
            structure: unknown,
        ) => structure is JsxSpreadAttributeStructure;
        isJsxTagNamed: <T_26>(
            structure: T_26,
        ) => structure is T_26 & JsxTagNamedNodeStructure;
        isMethod: (structure: unknown) => structure is MethodDeclarationStructure;
        isMethodDeclarationOverload: (
            structure: unknown,
        ) => structure is MethodDeclarationOverloadStructure;
        isMethodSignature: (
            structure: unknown,
        ) => structure is MethodSignatureStructure;
        isModule: (structure: unknown) => structure is ModuleDeclarationStructure;
        isModuleNamed: <T_30>(
            structure: T_30,
        ) => structure is T_30 & ModuleNamedNodeStructure;
        isNameable: <T_7>(
            structure: T_7,
        ) => structure is T_7 & NameableNodeStructure;
        isNamed: <T_16>(structure: T_16) => structure is T_16 & NamedNodeStructure;
        isOverrideable: <T_29>(
            structure: T_29,
        ) => structure is T_29 & OverrideableNodeStructure;
        isParameter: (
            structure: unknown,
        ) => structure is ParameterDeclarationStructure;
        isParametered: <T_3>(
            structure: T_3,
        ) => structure is T_3 & ParameteredNodeStructure;
        isProperty: (
            structure: unknown,
        ) => structure is PropertyDeclarationStructure;
        isPropertyAssignment: (
            structure: unknown,
        ) => structure is PropertyAssignmentStructure;
        isPropertyNamed: <T_17>(
            structure: T_17,
        ) => structure is T_17 & PropertyNamedNodeStructure;
        isPropertySignature: (
            structure: unknown,
        ) => structure is PropertySignatureStructure;
        isQuestionTokenable: <T_28>(
            structure: T_28,
        ) => structure is T_28 & QuestionTokenableNodeStructure;
        isReadonlyable: <T_23>(
            structure: T_23,
        ) => structure is T_23 & ReadonlyableNodeStructure;
        isReturnTyped: <T_4>(
            structure: T_4,
        ) => structure is T_4 & ReturnTypedNodeStructure;
        isScopeable: <T_33>(
            structure: T_33,
        ) => structure is T_33 & ScopeableNodeStructure;
        isScoped: <T_14>(
            structure: T_14,
        ) => structure is T_14 & ScopedNodeStructure;
        isSetAccessor: (
            structure: unknown,
        ) => structure is SetAccessorDeclarationStructure;
        isShorthandPropertyAssignment: (
            structure: unknown,
        ) => structure is ShorthandPropertyAssignmentStructure;
        isSignatured: <T_2>(
            structure: T_2,
        ) => structure is T_2 & SignaturedDeclarationStructure;
        isSourceFile: (structure: unknown) => structure is SourceFileStructure;
        isSpreadAssignment: (
            structure: unknown,
        ) => structure is SpreadAssignmentStructure;
        isStatemented: <T_13>(
            structure: T_13,
        ) => structure is T_13 & StatementedNodeStructure;
        isStaticable: <T_21>(
            structure: T_21,
        ) => structure is T_21 & StaticableNodeStructure;
        isTypeAlias: (
            structure: unknown,
        ) => structure is TypeAliasDeclarationStructure;
        isTyped: <T_32>(structure: T_32) => structure is T_32 & TypedNodeStructure;
        isTypeElementMembered: <T_25>(
            structure: T_25,
        ) => structure is T_25 & TypeElementMemberedNodeStructure;
        isTypeParameter: (
            structure: unknown,
        ) => structure is TypeParameterDeclarationStructure;
        isTypeParametered: <T_5>(
            structure: T_5,
        ) => structure is T_5 & TypeParameteredNodeStructure;
        isVariableDeclaration: (
            structure: unknown,
        ) => structure is VariableDeclarationStructure;
        isVariableStatement: (
            structure: unknown,
        ) => structure is VariableStatementStructure;
    }

    Type guards for use on structures.

    Type Declaration

    • ReadonlyhasName: <T extends Structure>(structure: T) => structure is T & { name: string }

      Gets if the provided structure has a name.

    • ReadonlyisAbstractable: <T_10>(structure: T_10) => structure is T_10 & AbstractableNodeStructure

      Gets if the provided structure is a AbstractableNodeStructure.

    • ReadonlyisAmbientable: <T_11>(structure: T_11) => structure is T_11 & AmbientableNodeStructure

      Gets if the provided structure is a AmbientableNodeStructure.

    • ReadonlyisAsyncable: <T_19>(structure: T_19) => structure is T_19 & AsyncableNodeStructure

      Gets if the provided structure is a AsyncableNodeStructure.

    • ReadonlyisBindingNamed: <T_31>(structure: T_31) => structure is T_31 & BindingNamedNodeStructure

      Gets if the provided structure is a BindingNamedNodeStructure.

    • ReadonlyisCallSignature: (structure: unknown) => structure is CallSignatureDeclarationStructure

      Gets if the provided structure is a CallSignatureDeclarationStructure.

    • ReadonlyisClass: (structure: unknown) => structure is ClassDeclarationStructure

      Gets if the provided structure is a ClassDeclarationStructure.

    • ReadonlyisClassLikeDeclarationBase: <T_6>(structure: T_6) => structure is T_6 & ClassLikeDeclarationBaseStructure

      Gets if the provided structure is a ClassLikeDeclarationBaseStructure.

    • ReadonlyisClassStaticBlock: (structure: unknown) => structure is ClassStaticBlockDeclarationStructure

      Gets if the provided structure is a ClassStaticBlockDeclarationStructure.

    • ReadonlyisConstructor: (structure: unknown) => structure is ConstructorDeclarationStructure

      Gets if the provided structure is a ConstructorDeclarationStructure.

    • ReadonlyisConstructorDeclarationOverload: (structure: unknown) => structure is ConstructorDeclarationOverloadStructure

      Gets if the provided structure is a ConstructorDeclarationOverloadStructure.

    • ReadonlyisConstructSignature: (structure: unknown) => structure is ConstructSignatureDeclarationStructure

      Gets if the provided structure is a ConstructSignatureDeclarationStructure.

    • ReadonlyisDecoratable: <T_9>(structure: T_9) => structure is T_9 & DecoratableNodeStructure

      Gets if the provided structure is a DecoratableNodeStructure.

    • ReadonlyisDecorator: (structure: unknown) => structure is DecoratorStructure

      Gets if the provided structure is a DecoratorStructure.

    • ReadonlyisEnum: (structure: unknown) => structure is EnumDeclarationStructure

      Gets if the provided structure is a EnumDeclarationStructure.

    • ReadonlyisEnumMember: (structure: unknown) => structure is EnumMemberStructure

      Gets if the provided structure is a EnumMemberStructure.

    • ReadonlyisExclamationTokenable: <T_34>(structure: T_34) => structure is T_34 & ExclamationTokenableNodeStructure

      Gets if the provided structure is a ExclamationTokenableNodeStructure.

    • ReadonlyisExportable: <T_12>(structure: T_12) => structure is T_12 & ExportableNodeStructure

      Gets if the provided structure is a ExportableNodeStructure.

    • ReadonlyisExportAssignment: (structure: unknown) => structure is ExportAssignmentStructure

      Gets if the provided structure is a ExportAssignmentStructure.

    • ReadonlyisExportDeclaration: (structure: unknown) => structure is ExportDeclarationStructure

      Gets if the provided structure is a ExportDeclarationStructure.

    • ReadonlyisExportSpecifier: (structure: unknown) => structure is ExportSpecifierStructure

      Gets if the provided structure is a ExportSpecifierStructure.

    • ReadonlyisExpressioned: <T_35>(structure: T_35) => structure is T_35 & ExpressionedNodeStructure

      Gets if the provided structure is a ExpressionedNodeStructure.

    • ReadonlyisExtendsClauseable: <T_24>(structure: T_24) => structure is T_24 & ExtendsClauseableNodeStructure

      Gets if the provided structure is a ExtendsClauseableNodeStructure.

    • ReadonlyisFunction: (structure: unknown) => structure is FunctionDeclarationStructure

      Gets if the provided structure is a FunctionDeclarationStructure.

    • ReadonlyisFunctionDeclarationOverload: (structure: unknown) => structure is FunctionDeclarationOverloadStructure

      Gets if the provided structure is a FunctionDeclarationOverloadStructure.

    • ReadonlyisFunctionLike: <T_15>(structure: T_15) => structure is T_15 & FunctionLikeDeclarationStructure

      Gets if the provided structure is a FunctionLikeDeclarationStructure.

    • ReadonlyisGeneratorable: <T_20>(structure: T_20) => structure is T_20 & GeneratorableNodeStructure

      Gets if the provided structure is a GeneratorableNodeStructure.

    • ReadonlyisGetAccessor: (structure: unknown) => structure is GetAccessorDeclarationStructure

      Gets if the provided structure is a GetAccessorDeclarationStructure.

    • ReadonlyisImplementsClauseable: <T_8>(structure: T_8) => structure is T_8 & ImplementsClauseableNodeStructure

      Gets if the provided structure is a ImplementsClauseableNodeStructure.

    • ReadonlyisImportAttribute: (structure: unknown) => structure is ImportAttributeStructure

      Gets if the provided structure is a ImportAttributeStructure.

    • ReadonlyisImportAttributeNamed: <T_22>(structure: T_22) => structure is T_22 & ImportAttributeNamedNodeStructure

      Gets if the provided structure is a ImportAttributeNamedNodeStructure.

    • ReadonlyisImportDeclaration: (structure: unknown) => structure is ImportDeclarationStructure

      Gets if the provided structure is a ImportDeclarationStructure.

    • ReadonlyisImportSpecifier: (structure: unknown) => structure is ImportSpecifierStructure

      Gets if the provided structure is a ImportSpecifierStructure.

    • ReadonlyisIndexSignature: (structure: unknown) => structure is IndexSignatureDeclarationStructure

      Gets if the provided structure is a IndexSignatureDeclarationStructure.

    • ReadonlyisInitializerExpressionable: <T_18>(
          structure: T_18,
      ) => structure is T_18 & InitializerExpressionableNodeStructure

      Gets if the provided structure is a InitializerExpressionableNodeStructure.

    • ReadonlyisInterface: (structure: unknown) => structure is InterfaceDeclarationStructure

      Gets if the provided structure is a InterfaceDeclarationStructure.

    • ReadonlyisJSDoc: (structure: unknown) => structure is JSDocStructure

      Gets if the provided structure is a JSDocStructure.

    • ReadonlyisJSDocable: <T_1>(structure: T_1) => structure is T_1 & JSDocableNodeStructure

      Gets if the provided structure is a JSDocableNodeStructure.

    • ReadonlyisJSDocTag: (structure: unknown) => structure is JSDocTagStructure

      Gets if the provided structure is a JSDocTagStructure.

    • ReadonlyisJsxAttribute: (structure: unknown) => structure is JsxAttributeStructure

      Gets if the provided structure is a JsxAttributeStructure.

    • ReadonlyisJsxAttributed: <T_27>(structure: T_27) => structure is T_27 & JsxAttributedNodeStructure

      Gets if the provided structure is a JsxAttributedNodeStructure.

    • ReadonlyisJsxElement: (structure: unknown) => structure is JsxElementStructure

      Gets if the provided structure is a JsxElementStructure.

    • ReadonlyisJsxSelfClosingElement: (structure: unknown) => structure is JsxSelfClosingElementStructure

      Gets if the provided structure is a JsxSelfClosingElementStructure.

    • ReadonlyisJsxSpreadAttribute: (structure: unknown) => structure is JsxSpreadAttributeStructure

      Gets if the provided structure is a JsxSpreadAttributeStructure.

    • ReadonlyisJsxTagNamed: <T_26>(structure: T_26) => structure is T_26 & JsxTagNamedNodeStructure

      Gets if the provided structure is a JsxTagNamedNodeStructure.

    • ReadonlyisMethod: (structure: unknown) => structure is MethodDeclarationStructure

      Gets if the provided structure is a MethodDeclarationStructure.

    • ReadonlyisMethodDeclarationOverload: (structure: unknown) => structure is MethodDeclarationOverloadStructure

      Gets if the provided structure is a MethodDeclarationOverloadStructure.

    • ReadonlyisMethodSignature: (structure: unknown) => structure is MethodSignatureStructure

      Gets if the provided structure is a MethodSignatureStructure.

    • ReadonlyisModule: (structure: unknown) => structure is ModuleDeclarationStructure

      Gets if the provided structure is a ModuleDeclarationStructure.

    • ReadonlyisModuleNamed: <T_30>(structure: T_30) => structure is T_30 & ModuleNamedNodeStructure

      Gets if the provided structure is a ModuleNamedNodeStructure.

    • ReadonlyisNameable: <T_7>(structure: T_7) => structure is T_7 & NameableNodeStructure

      Gets if the provided structure is a NameableNodeStructure.

    • ReadonlyisNamed: <T_16>(structure: T_16) => structure is T_16 & NamedNodeStructure

      Gets if the provided structure is a NamedNodeStructure.

    • ReadonlyisOverrideable: <T_29>(structure: T_29) => structure is T_29 & OverrideableNodeStructure

      Gets if the provided structure is a OverrideableNodeStructure.

    • ReadonlyisParameter: (structure: unknown) => structure is ParameterDeclarationStructure

      Gets if the provided structure is a ParameterDeclarationStructure.

    • ReadonlyisParametered: <T_3>(structure: T_3) => structure is T_3 & ParameteredNodeStructure

      Gets if the provided structure is a ParameteredNodeStructure.

    • ReadonlyisProperty: (structure: unknown) => structure is PropertyDeclarationStructure

      Gets if the provided structure is a PropertyDeclarationStructure.

    • ReadonlyisPropertyAssignment: (structure: unknown) => structure is PropertyAssignmentStructure

      Gets if the provided structure is a PropertyAssignmentStructure.

    • ReadonlyisPropertyNamed: <T_17>(structure: T_17) => structure is T_17 & PropertyNamedNodeStructure

      Gets if the provided structure is a PropertyNamedNodeStructure.

    • ReadonlyisPropertySignature: (structure: unknown) => structure is PropertySignatureStructure

      Gets if the provided structure is a PropertySignatureStructure.

    • ReadonlyisQuestionTokenable: <T_28>(structure: T_28) => structure is T_28 & QuestionTokenableNodeStructure

      Gets if the provided structure is a QuestionTokenableNodeStructure.

    • ReadonlyisReadonlyable: <T_23>(structure: T_23) => structure is T_23 & ReadonlyableNodeStructure

      Gets if the provided structure is a ReadonlyableNodeStructure.

    • ReadonlyisReturnTyped: <T_4>(structure: T_4) => structure is T_4 & ReturnTypedNodeStructure

      Gets if the provided structure is a ReturnTypedNodeStructure.

    • ReadonlyisScopeable: <T_33>(structure: T_33) => structure is T_33 & ScopeableNodeStructure

      Gets if the provided structure is a ScopeableNodeStructure.

    • ReadonlyisScoped: <T_14>(structure: T_14) => structure is T_14 & ScopedNodeStructure

      Gets if the provided structure is a ScopedNodeStructure.

    • ReadonlyisSetAccessor: (structure: unknown) => structure is SetAccessorDeclarationStructure

      Gets if the provided structure is a SetAccessorDeclarationStructure.

    • ReadonlyisShorthandPropertyAssignment: (structure: unknown) => structure is ShorthandPropertyAssignmentStructure

      Gets if the provided structure is a ShorthandPropertyAssignmentStructure.

    • ReadonlyisSignatured: <T_2>(structure: T_2) => structure is T_2 & SignaturedDeclarationStructure

      Gets if the provided structure is a SignaturedDeclarationStructure.

    • ReadonlyisSourceFile: (structure: unknown) => structure is SourceFileStructure

      Gets if the provided structure is a SourceFileStructure.

    • ReadonlyisSpreadAssignment: (structure: unknown) => structure is SpreadAssignmentStructure

      Gets if the provided structure is a SpreadAssignmentStructure.

    • ReadonlyisStatemented: <T_13>(structure: T_13) => structure is T_13 & StatementedNodeStructure

      Gets if the provided structure is a StatementedNodeStructure.

    • ReadonlyisStaticable: <T_21>(structure: T_21) => structure is T_21 & StaticableNodeStructure

      Gets if the provided structure is a StaticableNodeStructure.

    • ReadonlyisTypeAlias: (structure: unknown) => structure is TypeAliasDeclarationStructure

      Gets if the provided structure is a TypeAliasDeclarationStructure.

    • ReadonlyisTyped: <T_32>(structure: T_32) => structure is T_32 & TypedNodeStructure

      Gets if the provided structure is a TypedNodeStructure.

    • ReadonlyisTypeElementMembered: <T_25>(structure: T_25) => structure is T_25 & TypeElementMemberedNodeStructure

      Gets if the provided structure is a TypeElementMemberedNodeStructure.

    • ReadonlyisTypeParameter: (structure: unknown) => structure is TypeParameterDeclarationStructure

      Gets if the provided structure is a TypeParameterDeclarationStructure.

    • ReadonlyisTypeParametered: <T_5>(structure: T_5) => structure is T_5 & TypeParameteredNodeStructure

      Gets if the provided structure is a TypeParameteredNodeStructure.

    • ReadonlyisVariableDeclaration: (structure: unknown) => structure is VariableDeclarationStructure

      Gets if the provided structure is a VariableDeclarationStructure.

    • ReadonlyisVariableStatement: (structure: unknown) => structure is VariableStatementStructure

      Gets if the provided structure is a VariableStatementStructure.