dot-notes v1.0.0 DotNotes.Util

Utility module to hold any common utilities and macros.

Summary

Macros

Determines whether a value is a valid haystack or not

Macros

is_haystack(value)

Specs

is_haystack(term, value :: any) :: true | false

Determines whether a value is a valid haystack or not.

This just shorthands a check on being either a Map or a List.