extend/sheriff — Issue #18: How to check for "recordness"
Author: nyaray
Created: 2012-02-29 09:46:11+00:00
State: open

How do I check if a value is an instance of a record? A function is clearly generated since I get a warning about not using it, but I simply can't figure out how to call it via sheriff:check/2 calls.

I didn't really know who to ask, so I figured that an issue would be suitable (since it really isn't documented from what I've read). It would be nice if the answer to this question was included in the documentation for future users wanting to validate values as records and not just types.