Function specTypeKey

  • Infers the SpecTypeName based on the value’s type, provided it is one of the SpecTypes. Think of it as a typeof, where the possible return values are the SpecTypeName's instead of the JavaScript primitive types.

    Parameters

    Returns "string" | "number" | "boolean" | "number[]" | "string[]"

    The SpecTypeName for the given value.

Generated using TypeDoc