Any0.26.0
expand_more
abstract external class Any
- Known subtypes:
- AbstractStep, AgentConfig, AlertManagerConfig, AlertingConfig, AlertingRule, AlertingRuleGroup, AlsoKnownAs, Annotation, AttachWorkspaceStep, BaseParameter, BasicAuth, Benchmark, Benchmark, BenchmarkReport, BenchmarkResult, Boolean, CData, Checksums, Class, Class, Collection, Command, Comment, Components, Config, Configuration, Contact, CpuInput, CsvInputDataFormat, DataSize, Declaration, DeclaredType, Deprecated, DiscardOutput, Discriminator, DiskInput, DnsSdConfig, DocExample, DocPackageInfo, DockerImage, DocsiteInfo, Document, Documentation, Duration, Dynamic, Editor, Encoding, EvaluatorSettings, Example, ExecInput, Executor, ExtVar, ExternalDocs, ExternalDocumentation, FileInput, FileOutput, FileOutput, FileSdConfig, FilterSpec, Float, Function, Function0, Function1, Function2, Function3, Function4, Function5, FunctionType, GlobalConfig, HTTPResponse, Header, Http, HttpInput, IPv4Address, IPv4Network, IPv6Address, IPv6Network, ImportStr, Info, Inline, Input, InputDataFormat, Inputs, Int, IntSeq, Job, JobFilters, JsonInputDataFormat, JsonOutputDataFormat, JsonRenderer, JsonSchema, KubernetesSdConfig, KubernetesSdConfigSelector, Language, License, Link, List, Listing, LogicStatement, MACAddress, MacOSExecutor, Machine, Map, Mapping, Match, MediaType, MetadataConfig, Method, MethodParameter, Microbenchmark, Module, Module, ModuleInfo, ModuleOutput, ModuleType, ModulesGenerator, NamespaceSpec, NetInput, NothingType, Null, NullableType, Number, OAuthFlow, OAuthFlows, Object, OpenTelemetry, OperatingSystem, Operation, Orb, Output, OutputBenchmark, OutputDataFormat, Outputs, PListRenderer, Package, PackageDependency, Pair, Parameter, Parameter, Parser, Parser, Parser, Parser, ParserBenchmark, PathItem, PcfRenderDirective, PcfRenderer, PersistToWorkspaceStep, PipelineValues, Platform, Plugin, Processor, Processor, Processors, Project, PrometheusClientOutput, PrometheusInput, PrometheusObject, PropertiesRenderer, Property, PropertySchema, Proxy, QueueConfig, RecordingRule, RecordingRuleGroup, Reference, Regex, RegexMatch, RelabelConfig, Release, RemoteDependency, RemoteReadConfig, RemoteWriteConfig, RenderDirective, RenderDirective, Renderer, Renderer, Renderer, Renderer, RequestBody, Resource, Response, RestoreCacheStep, Rule, RunStep, Runtime, SaveCacheStep, ScheduleTrigger, ScheduleTriggerFilter, ScheduleTriggerFilterBranches, Schema, SchemaGenerator, ScrapeConfig, Security, SecurityScheme, Server, ServerVariable, Set, SetupRemoteDockerStep, Sigv4Config, Since, SocketListenerInput, SolrInput, SourceCode, SourceCode, SourceLocation, StandardLibrary, StarlarkProcessor, StaticConfig, StoreArtifacts, StoreTestResults, String, StringLiteralType, TLSConfig, Tag, TailInput, Telegraf, Type, Type, TypeAlias, TypeAlias, TypeDeclaration, TypeParameter, TypeVariable, Typed, UInt128, URI, UnionType, UnknownType, UnlessStep, Unlisted, ValueRenderer, VarArgs, Version, VirtualMachine, WhenStep, Workflow, WorkflowJob, Xml, YamlRenderer, base, convert, expressions, generate, generate, json, json, jsonnet, lua, math, net, platform, protobuf, reflect, release, semver, settings, shell, shellshortcuts, test, text, u128, utils, xml, yaml, 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.