Any0.25.2
expand_more
abstract external class Any
- Known subtypes:
- AlertManagerConfig, AlertingConfig, AlertingRule, AlertingRuleGroup, AlsoKnownAs, Annotation, AnnotationNode, AttachWorkspaceStep, BasicAuth, Benchmark, Benchmark, BenchmarkReport, BenchmarkResult, BinaryOperatorExpressionNode, Boolean, BuiltInKeywordExpressionNode, BuiltInTypeNode, CData, Checksums, Class, Class, ClassExtendsClause, ClassHeader, ClassNode, ClassOrModuleNode, Collection, Command, Comment, Config, Configuration, ConstrainedTypeNode, CpuInput, CsvInputDataFormat, DataSize, Declaration, DeclaredType, DeclaredTypeNode, Deprecated, DiscardOutput, Discriminator, DiskInput, DocCommentNode, DocExample, DocPackageInfo, DockerImage, DocsiteInfo, Documentation, Duration, Dynamic, Editor, EvaluatorSettings, ExecInput, Executor, ExpressionNode, ExtVar, ExternalDocumentation, Field, FileInput, FileOutput, FileOutput, FileSdConfig, FilterSpec, Float, Function, Function0, Function1, Function2, Function3, Function4, Function5, FunctionType, FunctionTypeNode, Generator, GeneratorSettings, GlobalConfig, HttpInput, IfElseExpressionNode, ImportExpressionNode, ImportStr, Inline, Input, InputDataFormat, Int, IntSeq, Job, JobFilters, JsonInputDataFormat, JsonOutputDataFormat, JsonRenderer, JsonSchema, JsonStructTag, KubernetesSdConfig, KubernetesSdConfigSelector, Language, List, Listing, LiteralValueExpressionNode, LogicStatement, MacOSExecutor, Machine, Map, Mapping, Match, MemberAccessExpressionNode, MetadataConfig, Method, MethodNode, MethodParameter, Microbenchmark, Module, Module, ModuleInfo, ModuleOutput, ModuleType, ModulesGenerator, Name, NamespaceSpec, NetInput, NothingType, Null, NullableType, NullableTypeNode, Number, Object, ObjectExpressionNode, OpenTelemetry, OperatingSystem, Orb, Output, OutputBenchmark, OutputDataFormat, PListRenderer, Package, Package, PackageDependency, Pair, Parameter, Parser, Parser, Parser, ParserBenchmark, PcfRenderDirective, PcfRenderer, PersistToWorkspaceStep, PipelineValues, Platform, Plugin, PostfixOperatorExpressionNode, PrefixOperatorExpressionNode, Processor, Processor, Project, PrometheusClientOutput, PrometheusInput, PrometheusObject, Properties, PropertiesBase, PropertiesRenderer, Property, PropertyDefinitionNode, PropertySchema, QualifiedMemberAccessExpressionNode, QueueConfig, ReadExpressionNode, RecordingRule, RecordingRuleGroup, Reference, Regex, RegexMatch, RelabelConfig, Release, RemoteDependency, RemoteReadConfig, RemoteWriteConfig, RenderDirective, Renderer, Renderer, Renderer, Reserved, Resource, RestoreCacheStep, Rule, RunStep, Runtime, SaveCacheStep, ScheduleTrigger, ScheduleTriggerFilter, ScheduleTriggerFilterBranches, Schema, SchemaGenerator, SchemaGenerator, ScrapeConfig, Set, SetupRemoteDockerStep, Sigv4Config, Since, SocketListenerInput, SourceCode, SourceCode, SourceLocation, StandardLibrary, StarlarkProcessor, StaticConfig, StoreArtifacts, StoreTestResults, String, StringExpressionNode, StringLiteralType, StringLiteralTypeNode, SubscriptExpressionNode, SuperAccessExpressionNode, SuperSubscriptExpressionNode, TLSConfig, TailInput, TraceExpressionNode, Type, Type, TypeAlias, TypeAlias, TypeAliasNode, TypeAnnotationNode, TypeDeclaration, TypeNode, TypeParameter, TypeVariable, Typed, UnionType, UnionTypeNode, UnknownType, UnlessStep, Unlisted, ValueRenderer, VarArgs, Version, VirtualMachine, WhenStep, Workflow, WorkflowJob, Xml, YamlRenderer, base, deepToTyped, generate, generate, go, json, jsonnet, math, operators, platform, protobuf, reflect, release, semver, settings, shell, test, utils, utils, xml, yaml
- Known usages:
- All versions:
- 0.29.0-dev, 0.28.1, 0.28.0, 0.28.0-dev, 0.27.2, 0.27.1, 0.27.0, 0.26.3, 0.26.2, 0.26.1, 0.26.0, 0.25.3, 0.25.2, 0.25.1, 0.25.0-dev
Every type is a subtype of Any
.
The following operators are supported for all values:
value1 == value2 // equality
value1 != value2 // inequality
value.member // member access
value?.member // conditional member access; returns `value.member` if `value` is non-null and `null` otherwise
value ?? default // null coalescing; returns `value` if `value` is non-null and `default` otherwise
value is String // type test
value as String // type cast; throws an error unless `value is String`
The top type of the type hierarchy.