Skip to content

LazyAnyValueOptions

Options for creating lazy untyped tokens.

Initializer

import { LazyAnyValueOptions } from '@alicloud/ros-cdk-core'
const lazyAnyValueOptions: LazyAnyValueOptions = { ... }

Properties

Name Type Description
displayHint string Use the given name as a display hint.
omitEmptyArray boolean If the produced value is an array and it is empty, return 'undefined' instead.

displayHintOptional

public readonly displayHint: string;
  • Type: string
  • Default: No hint

Use the given name as a display hint.


omitEmptyArrayOptional

public readonly omitEmptyArray: boolean;
  • Type: boolean
  • Default: false

If the produced value is an array and it is empty, return 'undefined' instead.