GitHub

isCategory

A helper function to verify that a model is a Category.

import { isCategory } from '@daffodil/category/testing'
function isCategory(category: DaffCategory): boolean