Function isModelFlow

  • Returns if the given function is a model flow or not.

    Parameters

    • fn: unknown

      Function to check.

    Returns fn is Function & Record<typeof modelFlowSymbol, unknown>