Determines whether a given value is valid and can be stored within the channels available.

  • Parameters

    • value: number

      A value to validate.

    • OptionalchannelsMax: number = channelsMaxDef

      The maximum channels available to store values.

    Returns boolean

    Whether the given value is valid.