Skip to main content

IsAny

@elastic/charts • Exports


@elastic/charts / IsAny

Type alias: IsAny<T, True, False>

IsAny<T, True, False>: True | False extends T extends never ? True : False ? True : False

return True if T is any, otherwise return False

Type parameters​

• T

• True

• False = never

Source​

packages/charts/src/utils/common.tsx:242


Generated using typedoc-plugin-markdown and TypeDoc