order_status_dispatchable

Checks if an order status is dispatchable.

Example

1
2
{{ 'picked' | order_status_dispatchable }} => false
{{ 'draft' | order_status_dispatchable }} => true

Input

Type Parameter Description Required
string orderStatus The status of the order to check. Comes before the | sign. Required

Output

Type Description
bool True if the order status is dispatchable, false otherwise