Type alias RequiresCallback

RequiresCallback: ((values) => boolean | Promise<boolean>)

A callback to check option requirements.

Type declaration

    • (values): boolean | Promise<boolean>
    • Parameters

      • values: OpaqueOptionValues

        The option values

      Returns boolean | Promise<boolean>

Returns

True if the requirements were satisfied